VYPR
Medium severity5.5NVD Advisory· Published Apr 10, 2024· Updated Jun 17, 2026

CVE-2021-47190

CVE-2021-47190

Description

In the Linux kernel, the following vulnerability has been resolved:

perf bpf: Avoid memory leak from perf_env__insert_btf()

perf_env__insert_btf() doesn't insert if a duplicate BTF id is encountered and this causes a memory leak. Modify the function to return a success/error value and then free the memory if insertion didn't happen.

v2. Adds a return -1 when the insertion error occurs in perf_env__fetch_btf. This doesn't affect anything as the result is never checked.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

3
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.1,<5.4.162
    • (no CPE)
    • (no CPE)range: 5.1

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.