CVE-2021-47190: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 5.1, before 5.4.162 (fixed in 5.4.162); from 5.5, before 5.10.82 (fixed in 5.10.82); from 5.11, before 5.15.5 (fixed in 5.15.5)

Published 2024-04-10. Last modified 2026-06-17.