CVE-2021-47190

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedApr 10, 2024
First seenApr 10, 2024

How to fix

Update
  • linux linux_kernel5.4.162, 5.10.82, 5.15.5 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.1 ≤ v < 5.4.162, 5.5 ≤ v < 5.10.82, 5.11 ≤ v < 5.15.55.4.162, 5.10.82, 5.15.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.