VDB

CISA-2021-47190

CISA-2021-47190 PUBLISHED

Reported by Linux · Published April 10, 2024

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

VendorProductVersions
LinuxLinux3792cb2ff43b, 3792cb2ff43b, 3792cb2ff43b
LinuxLinux5.1, 0, 5.4.162
LinuxLinux3792cb2ff43b, 5.1, 0

Timeline

  • Apr 10, 2024 CVE Published
  • Nov 4, 2024 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›