SecurityContext

CVE-2023-54154: Linux Kernel - Memory Leak

  • Cve: CVE-2023-54154
  • Name: Linux Kernel - Memory Leak
  • Description: In the Linux kernel, the following vulnerability has been resolved: scsi: target: core: Fix target_cmd_counter leak The target_cmd_counter struct allocated via target_alloc_cmd_counter() is never freed, resulting in leaks across various transport types, e.g.: unreferenced object 0xffff88801f920120 (size 96): comm "sh", pid 102, jiffies 4294892535 (age 713.412s) hex dump (first 32 bytes): 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 38 01 92 1f 80 88 ff ff ........8....... backtrace: [<00000000e58a6252>] kmalloc_trace+0x11/0x20 [<0000000043af4b2f>] target_alloc_cmd_counter+0x17/0x90 [target_core_mod] [<000000007da2dfa7>] target_setup_session+0x2d/0x140 [target_core_mod] [<0000000068feef86>] tcm_loop_tpg_nexus_store+0x19b/0x350 [tcm_loop] [<000000006a80e021>] configfs_write_iter+0xb1/0x120 [<00000000e9f4d860>] vfs_write+0x2e4/0x3c0 [<000000008143433b>] ksys_write+0x80/0xb0 [<00000000a7df29b2>] do_syscall_64+0x42/0x90 [<0000000053f45fb8>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Free the structure alongside the corresponding iscsit_conn / se_sess parent.
  • Impact: Attackers can cause memory leaks leading to resource exhaustion and potential denial of service.
  • Remediation: Update to the latest Linux kernel version containing the fix for target_cmd_counter leak.
  • Vulnerability impact: denial_of_service
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00197
  • Epss percentile: 0.09385
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-12-24T13:16:17Z
  • Age in days: 335
  • Modified at: 2026-06-17T06:46:54Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-54154
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, requirements, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/1cd41d1669bcbc5052afa897f85608a62ff3fb30
https://git.kernel.org/stable/c/d14e3e553e05cb763964c991fe6acb0a6a1c6f9c
https://git.kernel.org/stable/c/f84639c5ac5f4f95b3992da1af4ff382ebf2e819

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.4, < 6.6; >= 6.4, < 6.5.5; >= 6.3.2; >= 6.2.15; >= 6.1.28, < 6.1.55nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports