CVE-2023-53140

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53140
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53140.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53140
Related
Published
2025-05-02T16:15:32Z
Modified
2025-05-05T22:50:07.541421Z
Summary
[none]
Details

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:

procdirentry 'scsi/scsidebug' already registered WARNING: CPU: 19 PID: 27986 at fs/proc/generic.c:376 procregister+0x27d/0x2e0 Call Trace: procmkdir+0xb5/0xe0 scsiprochostdiradd+0xb5/0x170 scsihostalloc+0x683/0x6c0 sdebugdriverprobe+0x6b/0x2d0 [scsidebug] reallyprobe+0x159/0x540 _driverprobedevice+0xdc/0x230 driverprobedevice+0x4f/0x120 _deviceattachdriver+0xef/0x180 busforeachdrv+0xe5/0x130 _deviceattach+0x127/0x290 deviceinitialprobe+0x17/0x20 busprobedevice+0x110/0x130 deviceadd+0x673/0xc80 deviceregister+0x1e/0x30 sdebugaddhosthelper+0x1a7/0x3b0 [scsidebug] scsidebuginit+0x64f/0x1000 [scsidebug] dooneinitcall+0xd7/0x470 doinitmodule+0xe7/0x330 loadmodule+0x122a/0x12c0 _dosysfinitmodule+0x124/0x1a0 _x64sysfinitmodule+0x46/0x50 dosyscall64+0x38/0x80 entrySYSCALL64after_hwframe+0x46/0xb0

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.178-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1
5.10.127-1
5.10.127-2~bpo10+1
5.10.127-2
5.10.136-1
5.10.140-1
5.10.148-1
5.10.149-1
5.10.149-2
5.10.158-1
5.10.158-2
5.10.162-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.20-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.20-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}