{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53140","id":"CVE-2023-53140","title":"scsi: core: Remove the /proc/scsi/${proc_name} directory earlier","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Remove the /proc/scsi/${proc_name} directory earlier\n\nRemove the /proc/scsi/${proc_name} directory earlier to fix a race\ncondition between unloading and reloading kernel modules. This fixes a bug\nintroduced in 2009 by commit 77c019768f06 (\"[SCSI] fix /proc memory leak in\nthe SCSI core\").\n\nFix the following kernel warn","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Remove the /proc/scsi/${proc_name} directory earlier\n\nRemove the /proc/scsi/${proc_name} directory earlier to fix a race\ncondition between unloading and reloading kernel modules. This fixes a bug\nintroduced in 2009 by commit 77c019768f06 (\"[SCSI] fix /proc memory leak in\nthe SCSI core\").\n\nFix the following kernel warning:\n\nproc_dir_entry 'scsi/scsi_debug' already registered\nWARNING: CPU: 19 PID: 27986 at fs/proc/generic.c:376 proc_register+0x27d/0x2e0\nCall Trace:\n proc_mkdir+0xb5/0xe0\n scsi_proc_hostdir_add+0xb5/0x170\n scsi_host_alloc+0x683/0x6c0\n sdebug_driver_probe+0x6b/0x2d0 [scsi_debug]\n really_probe+0x159/0x540\n __driver_probe_device+0xdc/0x230\n driver_probe_device+0x4f/0x120\n __device_attach_driver+0xef/0x180\n bus_for_each_drv+0xe5/0x130\n __device_attach+0x127/0x290\n device_initial_probe+0x17/0x20\n bus_probe_device+0x110/0x130\n device_add+0x673/0xc80\n device_register+0x1e/0x30\n sdebug_add_host_helper+0x1a7/0x3b0 [scsi_debug]\n scsi_debug_init+0x64f/0x1000 [scsi_debug]\n do_one_initcall+0xd7/0x470\n do_init_module+0xe7/0x330\n load_module+0x122a/0x12c0\n __do_sys_finit_module+0x124/0x1a0\n __x64_sys_finit_module+0x46/0x50\n do_syscall_64+0x38/0x80\n entry_SYSCALL_64_after_hwframe+0x46/0xb0","published":"2025-05-02T15:56:11.666Z","updated":"2026-10-28T02:31:06.623916958Z","reserved":"2025-05-02T15:51:43.562Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"13daafe1e209b03e9bda16ff2bd2b2da145a139b","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"891a3cba425cf483d96facca55aebd6ff1da4338","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"6b223e32d66ca9db1f252f433514783d8b22a8e1","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"e471e928de97b00f297ad1015cc14f9459765713","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"17e98a5ede81b7696bec421f7afa2dfe467f5e6b","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"1ec363599f8346d5a8d08c71a0d9860d6c420ec0","status":"affected","versionType":"git"},{"version":"77c019768f0607c36e25bec11ce3e1eabef09277","lessThan":"fc663711b94468f4e1427ebe289c9f05669699c9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"4.19.278","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.237","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.175","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.103","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.20","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.7","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/13daafe1e209b03e9bda16ff2bd2b2da145a139b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/891a3cba425cf483d96facca55aebd6ff1da4338","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6b223e32d66ca9db1f252f433514783d8b22a8e1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e471e928de97b00f297ad1015cc14f9459765713","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/17e98a5ede81b7696bec421f7afa2dfe467f5e6b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1ec363599f8346d5a8d08c71a0d9860d6c420ec0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fc663711b94468f4e1427ebe289c9f05669699c9","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53140.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53140","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00189,"epssPercentile":0.08594,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53140","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53140","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53140","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53140","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}