CVE-2021-47417Published May 21, 2024 · May 21Updated Jun 17
libbpf: Fix memory leak in strset
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's libbpf strset code frees a strset's internal parts but not the strset structure itself, causing a memory leak. The input does not establish how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running Linux should check whether their kernel includes the affected libbpf strset code; affected versions are not specified.