CVE-2023-53140
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-53140 is a vulnerability in the Linux kernel's SCSI core subsystem, discovered and disclosed on May 2, 2025. The vulnerability stems from a race condition between unloading and reloading kernel modules, specifically affecting the handling of /proc/scsi/${proc_name} directory. This issue was introduced in 2009 by a commit that was intended to fix a memory leak in the SCSI core (NVD, Debian Tracker).

Technical details

The vulnerability manifests as a race condition in the SCSI core subsystem when handling the /proc/scsi/${proc_name} directory during kernel module operations. When triggered, it results in a kernel warning indicating that the proc_dir_entry 'scsi/scsi_debug' is already registered. The issue occurs specifically in the proc_register function at fs/proc/generic.c:376, affecting the timing of directory removal and recreation operations (Wiz).

Impact

The vulnerability has been assessed as low priority by Ubuntu and primarily affects system stability. When exploited, it can trigger kernel warnings and potentially lead to system instability during SCSI module loading and unloading operations (Ubuntu, Wiz).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Ubuntu has fixed it in versions 22.04 LTS (5.15.0-79.86), 20.04 LTS (5.4.0-156.173), and other releases. Debian has also released fixes in Bullseye (5.10.234-1), Bookworm (6.1.135-1), and Trixie (6.12.22-1). The fix involves modifying the timing of the /proc/scsi/${proc_name} directory removal (Ubuntu, Debian Tracker).

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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 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