What’s Vulnerable › Vulnerabilities
CVE-2021-47417: libbpf: Fix memory leak in strset
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: libbpf: Fix memory leak in strset Free struct strset itself, not just its internal parts.
Affected products
- Linux kernel: from 5.13 before 5.14.12; 5.15-rc1, 5.15-rc2, 5.15-rc3, 5.15-rc4 — fixed in 5.14.12
How to fix
Upgrade to a fixed version: Linux kernel 5.14.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9e8e7504e09831c469b67d6dc11d9a72654bdb8c
- https://git.kernel.org/stable/c/b0e875bac0fab3e7a7431c2eee36a8ccc0c712ac
- https://git.kernel.org/stable/c/9e8e7504e09831c469b67d6dc11d9a72654bdb8c
- https://git.kernel.org/stable/c/b0e875bac0fab3e7a7431c2eee36a8ccc0c712ac
Get alerted when CVE-2021-47417 or the next vulnerability affects your stack