CVE-2021-47190

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/04/2024
Last modified:
07/01/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> perf bpf: Avoid memory leak from perf_env__insert_btf()<br /> <br /> perf_env__insert_btf() doesn&amp;#39;t insert if a duplicate BTF id is<br /> encountered and this causes a memory leak. Modify the function to return<br /> a success/error value and then free the memory if insertion didn&amp;#39;t<br /> happen.<br /> <br /> v2. Adds a return -1 when the insertion error occurs in<br /> perf_env__fetch_btf. This doesn&amp;#39;t affect anything as the result is<br /> never checked.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.1 (including) 5.4.162 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.82 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.5 (excluding)