Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-53140— scsi: core: Remove the /proc/scsi/${proc_name} directory earlier

AI Predicted 4.3 Difficulty: Moderate EPSS 0.18% · P7

Possible ATT&CK Techniques 1AI

T1055 · Process Injection

Affected Version Matrix 16

VendorProductVersion RangeStatus
LinuxLinux77c019768f0607c36e25bec11ce3e1eabef09277< 13daafe1e209b03e9bda16ff2bd2b2da145a139baffected
77c019768f0607c36e25bec11ce3e1eabef09277< 891a3cba425cf483d96facca55aebd6ff1da4338affected
77c019768f0607c36e25bec11ce3e1eabef09277< 6b223e32d66ca9db1f252f433514783d8b22a8e1affected
77c019768f0607c36e25bec11ce3e1eabef09277< e471e928de97b00f297ad1015cc14f9459765713affected
77c019768f0607c36e25bec11ce3e1eabef09277< 17e98a5ede81b7696bec421f7afa2dfe467f5e6baffected
77c019768f0607c36e25bec11ce3e1eabef09277< 1ec363599f8346d5a8d08c71a0d9860d6c420ec0affected
77c019768f0607c36e25bec11ce3e1eabef09277< fc663711b94468f4e1427ebe289c9f05669699c9affected
2.6.30affected
… +8 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-53140

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
Source: CVE Program / CVE List V5
Vulnerability 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
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于proc目录移除时机不当,可能导致模块卸载和重载时的竞争条件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 77c019768f0607c36e25bec11ce3e1eabef09277 ~ 13daafe1e209b03e9bda16ff2bd2b2da145a139b -
LinuxLinux 2.6.30 -

II. Public POCs for CVE-2023-53140

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-53140

登录查看更多情报信息。

Patches & Fixes for CVE-2023-53140 (7)

Same Patch Batch · Linux · 2025-05-02 · 107 CVEs total

CVE-2023-531169.8 CRITICALnvmet: avoid potential UAF in nvmet_req_complete()
CVE-2023-530839.8 CRITICALnfsd: don't replace page in rq_pages if it's a continuation of last page
CVE-2023-530868.8 HIGHwifi: mt76: connac: do not check WED status for non-mmio devices
CVE-2025-377987.8 HIGHcodel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
CVE-2023-531387.8 HIGHnet: caif: Fix use-after-free in cfusbl_device_notify()
CVE-2023-531117.8 HIGHloop: Fix use-after-free issues
CVE-2023-531077.8 HIGHveth: Fix use after free in XDP_REDIRECT
CVE-2023-531027.8 HIGHice: xsk: disable txq irq before flushing hw
CVE-2023-531007.8 HIGHext4: fix WARNING in ext4_update_inline_data
CVE-2023-530947.8 HIGHtty: serial: fsl_lpuart: fix race on RX DMA shutdown
CVE-2023-530907.8 HIGHdrm/amdkfd: Fix an illegal memory access
CVE-2023-530887.8 HIGHmptcp: fix UaF in listener shutdown
CVE-2023-530877.8 HIGHdrm/i915/active: Fix misuse of non-idle barriers as fence trackers
CVE-2023-530847.8 HIGHdrm/shmem-helper: Remove another errant put in error path
CVE-2023-530807.8 HIGHxsk: Add missing overflow check in xdp_umem_reg
CVE-2023-530727.8 HIGHmptcp: use the workqueue to destroy unaccepted sockets
CVE-2023-530657.8 HIGHperf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
CVE-2023-530577.8 HIGHBluetooth: HCI: Fix global-out-of-bounds
CVE-2023-530527.8 HIGHcifs: fix use-after-free bug in refresh_cache_worker()
CVE-2023-530467.8 HIGHBluetooth: Fix race condition in hci_cmd_sync_clear

Showing top 20 of 107 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-53140

No comments yet


Leave a comment