Memory leak in Linux kernel - CVE-2021-47543

 

Memory leak in Linux kernel - CVE-2021-47543

Published: May 30, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU89929
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-47543
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to memory leak within the fetch_kernel_version() function in tools/perf/util/util.c, within the report__browse_hists() function in tools/perf/builtin-report.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
openEuler
kernel
python2-perf
kernel-tools
bpftool
kernel-devel
kernel-tools-devel
perf
kernel-debugsource
kernel-source
bpftool-debuginfo
kernel-debuginfo
python3-perf-debuginfo
kernel-tools-debuginfo
python3-perf
python2-perf-debuginfo
perf-debuginfo

How to mitigate CVE-2021-47543

Install update from vendor's website.

Linux kernel - addressed in versions 5.4.164, 5.10.84, 5.15.7, 5.16
kernel - update to 4.19.90-2406.2.0.0281
python2-perf - update to 4.19.90-2406.2.0.0281
kernel-tools - update to 4.19.90-2406.2.0.0281
bpftool - update to 4.19.90-2406.2.0.0281
kernel-devel - update to 4.19.90-2406.2.0.0281
kernel-tools-devel - update to 4.19.90-2406.2.0.0281
perf - update to 4.19.90-2406.2.0.0281
kernel-debugsource - update to 4.19.90-2406.2.0.0281
kernel-source - update to 4.19.90-2406.2.0.0281
bpftool-debuginfo - update to 4.19.90-2406.2.0.0281
kernel-debuginfo - update to 4.19.90-2406.2.0.0281
python3-perf-debuginfo - update to 4.19.90-2406.2.0.0281
kernel-tools-debuginfo - update to 4.19.90-2406.2.0.0281
python3-perf - update to 4.19.90-2406.2.0.0281
python2-perf-debuginfo - update to 4.19.90-2406.2.0.0281
perf-debuginfo - update to 4.19.90-2406.2.0.0281

External References

Related Security Bulletins