CVE-2023-54154
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54154 is a memory leak vulnerability in the Linux kernel's SCSI target core subsystem. The target_cmd_counter struct allocated via target_alloc_cmd_counter() is never freed, resulting in kernel memory leaks across various transport types including iSCSI and TCM loop. The vulnerability was published on December 24, 2025, and affects Linux kernel versions from the introduction of target_alloc_cmd_counter() up to the patched commits in the 6.1.x and 6.5.x stable series. No CVSS base score has been assigned; the EPSS score is approximately 0.017% (Feedly).

Technical details

The root cause is a missing memory deallocation (CWE-401: Missing Release of Memory after Effective Lifetime) in the Linux kernel's drivers/target/target_core_transport.c. When target_setup_session() is called — for example, via tcm_loop_tpg_nexus_store() writing to a configfs entry — it invokes target_alloc_cmd_counter(), which allocates a 96-byte target_cmd_counter struct via kmalloc. This struct is never freed when the corresponding iscsit_conn or se_sess parent session is torn down, causing a persistent kernel heap leak. The backtrace in the vulnerability description shows the allocation path: configfs_write_itertcm_loop_tpg_nexus_storetarget_setup_sessiontarget_alloc_cmd_counterkmalloc_trace (Feedly).

Impact

The primary impact is a kernel memory leak that degrades system availability over time. On systems running iSCSI targets or TCM loop transports with frequent session setup and teardown, the unreleased 96-byte allocations accumulate on the kernel heap, potentially leading to memory exhaustion and system instability or denial of service. There is no evidence of confidentiality or integrity impact, and the vulnerability does not enable privilege escalation or remote code execution (Feedly).

Mitigation and workarounds

The fix was applied to the Linux kernel stable trees via three commits: 1cd41d1669bc (6.6 stable), f84639c5ac5f (6.5.x stable), and d14e3e553e05 (6.1.x stable). The patch frees the target_cmd_counter struct alongside the corresponding iscsit_conn or se_sess parent when a session is destroyed. Users should update to Linux kernel versions 6.1.55+, 6.5.5+, or 6.6+ to receive the fix. No configuration-based workaround is available; upgrading the kernel is the only remediation (Feedly, Kernel Patch 6.6, Kernel Patch 6.5, Kernel Patch 6.1).

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