SB2024053035 - Memory leak in Linux kernel perf ui
Published: May 30, 2024 Updated: May 14, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Memory leak (CVE-ID: CVE-2021-47545)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the fmt_free(), perf_hpp__init() and perf_hpp_list__prepend_sort_field() functions in tools/perf/ui/hist.c. A local user can perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/c5c8a26c0dc69a400553245e92d741fe55f91095
- https://git.kernel.org/stable/c/24a139c105fa0f7f99888cf328bf6a02fc841675
- https://git.kernel.org/stable/c/b380d09e44e8479e71e3ae8446b515a5b3166244
- https://git.kernel.org/stable/c/a4c17ebdd6249cb4e061358d3693383f6628e069
- https://git.kernel.org/stable/c/5b5c6f57a1f81499db4c8ea597898cb1b87de0b6
- https://git.kernel.org/stable/c/0ca1f534a776cc7d42f2c33da4732b74ec2790cd
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.257
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.220
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.84
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.7
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.164