Menu

Star on GitHub · 3.2k

CVE-2023-53140

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Remove the /proc/scsi/${proc_name} directory earlier Remove the /proc/scsi/${proc_name} directory earlier to fix a…

Published May 2, 2025CWE-401EPSS 0.19%

Overview

CVE-2023-53140 is a medium-severity vulnerability. It was published on May 2, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

scsi: core: Remove the /proc/scsi/${proc_name} directory earlier

Remove the /proc/scsi/${proc_name} directory earlier to fix a race

condition between unloading and reloading kernel modules. This fixes a bug

introduced in 2009 by commit 77c019768f06 ("[SCSI] fix /proc memory leak in

the SCSI core").

Fix the following kernel warning:

proc_dir_entry 'scsi/scsi_debug' already registered

WARNING: CPU: 19 PID: 27986 at fs/proc/generic.c:376 proc_register+0x27d/0x2e0

Call Trace:

proc_mkdir+0xb5/0xe0

scsi_proc_hostdir_add+0xb5/0x170

scsi_host_alloc+0x683/0x6c0

sdebug_driver_probe+0x6b/0x2d0 [scsi_debug]

really_probe+0x159/0x540

__driver_probe_device+0xdc/0x230

driver_probe_device+0x4f/0x120

__device_attach_driver+0xef/0x180

bus_for_each_drv+0xe5/0x130

__device_attach+0x127/0x290

device_initial_probe+0x17/0x20

bus_probe_device+0x110/0x130

device_add+0x673/0xc80

device_register+0x1e/0x30

sdebug_add_host_helper

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-53140?

CVE-2023-53140 is a medium-severity vulnerability. It was published on May 2, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-53140?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-53140?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-53140?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-53140 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all