CVE-2023-54171
kernel: tracing: Fix memory leak of iter->temp when reading trace_pipe
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 30, 2025
Updated · June 30, 2026
Description
A memory leak flaw was found in the Linux kernel's tracing subsystem. When reading from the trace_pipe file, a temporary buffer (iter->temp) is allocated but not freed when the file is closed. Repeated reads from trace_pipe can gradually exhaust system memory.
Statement
Exploiting this leak requires repeated access to /sys/kernel/tracing/trace_pipe, which typically requires root or CAP_SYS_ADMIN. While memory can be exhausted over time, the leak rate is relatively slow and would be noticed in monitoring before causing system impact.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-772 · Missing Release of Resource after Effective Lifetime