CVE-2023-54171
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54171 is a memory leak vulnerability in the Linux kernel's tracing subsystem, specifically in the handling of the trace_pipe file. When reading trace_pipe, the iter->temp buffer is allocated or reallocated within trace_find_next_entry() but is never freed when the file descriptor is closed, resulting in a kernel memory leak. The vulnerability affects Linux kernel versions starting from the introduction of the relevant code path (around kernel 5.7) up to the fixed versions: 5.10.188, 5.15.121, 6.1.40, 6.4.5, and 6.5. It was published on December 30, 2025, and carries an estimated CVSS severity of Medium with an EPSS score of approximately 0.024% (Feedly, EUVD).

Technical details

The root cause is a missing memory deallocation (CWE-401: Missing Release of Memory after Effective Lifetime) in the Linux kernel's tracing subsystem. When a process reads from the /sys/kernel/debug/tracing/trace_pipe file, the function trace_find_next_entry() allocates or reallocates the iter->temp buffer via __kmalloc during calls to trace_print_lat_context() and print_trace_line(). However, tracing_release_pipe() — the cleanup function called when the file is closed — does not free this buffer, leaving it as an unreferenced kernel heap object. The fix involves adding a kfree(iter->temp) call in tracing_release_pipe() to ensure the buffer is released upon file closure (Feedly, Kernel Patch 6.1).

Impact

The primary impact is a kernel memory leak, which degrades system availability over time as unreleased heap memory accumulates each time trace_pipe is read and closed. On long-running systems with frequent tracing activity, this could contribute to memory exhaustion, potentially causing performance degradation or system instability. There is no direct confidentiality or integrity impact, and the vulnerability does not enable privilege escalation or remote code execution (Feedly).

Mitigation and workarounds

The fix has been backported to multiple stable Linux kernel branches. Users should upgrade to the following patched versions or later: 5.10.188, 5.15.121, 6.1.40, 6.4.5, or 6.5. The upstream fix commits are available in the stable kernel tree for each affected branch. As a workaround, restricting access to the trace_pipe debugfs file (e.g., via filesystem permissions or by not mounting debugfs) can reduce exposure, though upgrading to a patched kernel is the recommended remediation (Feedly, EUVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management