CVE-2021-47190
MEDIUMLinux Kernel < 5.4.162 - Memory Leak
Title source: ruleDescription
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.
References (4)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
1.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-401
Status
published
Affected Products (1)
linux/linux_kernel
< 5.4.162
Timeline
Published
Apr 10, 2024
Tracked Since
Feb 18, 2026