CVE-2023-53140scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
- 5.5MediumCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 91% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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+0x1a7/0x3b0 [scsi_debug] scsi_debug_init+0x64f/0x1000 [scsi_debug] do_one_initcall+0xd7/0x470 do_init_module+0xe7/0x330 load_module+0x122a/0x12c0 __do_sys_finit_module+0x124/0x1a0 __x64_sys_finit_module+0x46/0x50 do_syscall_64+0x38/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0
Timeline
ID reserved
By Linux
Published
- 12 months later
· 12 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < 13daafe1e209b03e9bda16ff2bd2b2da145a139b
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < 891a3cba425cf483d96facca55aebd6ff1da4338
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < 6b223e32d66ca9db1f252f433514783d8b22a8e1
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < e471e928de97b00f297ad1015cc14f9459765713
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < 17e98a5ede81b7696bec421f7afa2dfe467f5e6b
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < 1ec363599f8346d5a8d08c71a0d9860d6c420ec0
- affected 77c019768f0607c36e25bec11ce3e1eabef09277 – < fc663711b94468f4e1427ebe289c9f05669699c9
- affected 2.6.30
- unaffected < 2.6.30
- unaffected 4.19.278 – ≤ 4.19.*
- unaffected 5.4.237 – ≤ 5.4.*
- unaffected 5.10.175 – ≤ 5.10.*
- unaffected 5.15.103 – ≤ 5.15.*
- unaffected 6.1.20 – ≤ 6.1.*
- unaffected 6.2.7 – ≤ 6.2.*
- unaffected 6.3 – ≤ *
References
References7
- https://git.kernel.org/stable/c/13daafe1e209b03e9bda16ff2bd2b2da145a139b (opens in a new tab)
- https://git.kernel.org/stable/c/891a3cba425cf483d96facca55aebd6ff1da4338 (opens in a new tab)
- https://git.kernel.org/stable/c/6b223e32d66ca9db1f252f433514783d8b22a8e1 (opens in a new tab)
- https://git.kernel.org/stable/c/e471e928de97b00f297ad1015cc14f9459765713 (opens in a new tab)
- https://git.kernel.org/stable/c/17e98a5ede81b7696bec421f7afa2dfe467f5e6b (opens in a new tab)
- https://git.kernel.org/stable/c/1ec363599f8346d5a8d08c71a0d9860d6c420ec0 (opens in a new tab)
- https://git.kernel.org/stable/c/fc663711b94468f4e1427ebe289c9f05669699c9 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-13117 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53140)Record last updated .