CVE-2023-53118 scsi: core: Fix a procfs host directory removal regression
A regression in the Linux kernel SCSI subsystem causes a reference counter underflow, potentially leading to a null pointer dereference and system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53118?
CVE-2023-53118 is a medium-severity vulnerability in Linux kernel, published on 2 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix a procfs host directory removal regression
scsi_proc_hostdir_rm() decreases a reference counter and hence must only be called once per host that is removed. This change does not require a scsi_add_host_with_dma() change since scsi_add_host_with_dma() will return 0 (success) if scsi_proc_host_add() is called.
Which versions are affected by CVE-2023-53118?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53118?
Apply the vendor's patch.
Is CVE-2023-53118 being exploited?
There is no known exploitation of CVE-2023-53118 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2023-53118, GHSA-fwj4-hj56-h864, UBUNTU-CVE-2023-53118.