# CVE-2023-53118: scsi: core: Fix a procfs host directory removal regression

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-05-02T15:55:56.177Z
- **Modified:** 2026-11-05T21:17:14.543Z

## Who should check

- Anyone running Linux \>= 891a3cba425cf483d96facca55aebd6ff1da4338, \< 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83; \>= 6b223e32d66ca9db1f252f433514783d8b22a8e1, \< 68c665bb185037e7eb66fb792c61da9d7151e99c; \>= e471e928de97b00f297ad1015cc14f9459765713, \< 2a764d55e938743efa7c2cba7305633bcf227f09; \>= 17e98a5ede81b7696bec421f7afa2dfe467f5e6b, \< 7e0ae8667fcdd99d1756922e1140cac75f5fa279; \>= 1ec363599f8346d5a8d08c71a0d9860d6c420ec0, \< 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51; \>= fc663711b94468f4e1427ebe289c9f05669699c9, \< be03df3d4bfe7e8866d4aa43d62e648ffe884f5f; 13daafe1e209b03e9bda16ff2bd2b2da145a139b; \>= 4.19.278, \< 4.20
- Anyone running Linux \>= 5.4.237, \< 5.4.238; \>= 5.10.175, \< 5.10.176; \>= 5.15.103, \< 5.15.104; \>= 6.1.20, \< 6.1.21; \>= 6.2.7, \< 6.2.8

## 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.

## Affected and fixed versions

- Linux: \>= 891a3cba425cf483d96facca55aebd6ff1da4338, \< 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83; \>= 6b223e32d66ca9db1f252f433514783d8b22a8e1, \< 68c665bb185037e7eb66fb792c61da9d7151e99c; \>= e471e928de97b00f297ad1015cc14f9459765713, \< 2a764d55e938743efa7c2cba7305633bcf227f09; \>= 17e98a5ede81b7696bec421f7afa2dfe467f5e6b, \< 7e0ae8667fcdd99d1756922e1140cac75f5fa279; \>= 1ec363599f8346d5a8d08c71a0d9860d6c420ec0, \< 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51; \>= fc663711b94468f4e1427ebe289c9f05669699c9, \< be03df3d4bfe7e8866d4aa43d62e648ffe884f5f; 13daafe1e209b03e9bda16ff2bd2b2da145a139b; \>= 4.19.278, \< 4.20 (cvelist)
- Linux: \>= 5.4.237, \< 5.4.238; \>= 5.10.175, \< 5.10.176; \>= 5.15.103, \< 5.15.104; \>= 6.1.20, \< 6.1.21; \>= 6.2.7, \< 6.2.8 (cvelist)

## Mitigation

- Upgrade Linux to 4.20 or later.
- Upgrade Linux to 6.2.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53118. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53118.md
Affected: Linux >= 891a3cba425cf483d96facca55aebd6ff1da4338, < 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83; >= 6b223e32d66ca9db1f252f433514783d8b22a8e1, < 68c665bb185037e7eb66fb792c61da9d7151e99c; >= e471e928de97b00f297ad1015cc14f9459765713, < 2a764d55e938743efa7c2cba7305633bcf227f09; >= 17e98a5ede81b7696bec421…
Fixed in: Linux 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83, Linux 68c665bb185037e7eb66fb792c61da9d7151e99c, Linux 2a764d55e938743efa7c2cba7305633bcf227f09, Linux 7e0ae8667fcdd99d1756922e1140cac75f5fa279, Linux 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51, Linux 4.20, Linux 5.4.238, Linux 5.10.176, Linux 5.15.104, …

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53118 being exploited?

There is no confirmed exploitation: CVE-2023-53118 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53118?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53118?

Linux \>= 891a3cba425cf483d96facca55aebd6ff1da4338, \< 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83; \>= 6b223e32d66ca9db1f252f433514783d8b22a8e1, \< 68c665bb185037e7eb66fb792c61da9d7151e99c; \>= e471e928de97b00f297ad1015cc14f9459765713, \< 2a764d55e938743efa7c2cba7305633bcf227f09; \>= 17e98a5ede81b7696bec421f7afa2dfe467f5e6b, \< 7e0ae8667fcdd99d1756922e1140cac75f5fa279; \>= 1ec363599f8346d5a8d08c71a0d9860d6c420ec0, \< 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51; \>= fc663711b94468f4e1427ebe289c9f05669699c9, \< be03df3d4bfe7e8866d4aa43d62e648ffe884f5f; 13daafe1e209b03e9bda16ff2bd2b2da145a139b; \>= 4.19.278, \< 4.20; Linux \>= 5.4.237, \< 5.4.238; \>= 5.10.175, \< 5.10.176; \>= 5.15.103, \< 5.15.104; \>= 6.1.20, \< 6.1.21; \>= 6.2.7, \< 6.2.8.

### Is there a fix for CVE-2023-53118?

Yes. Fixed in Linux 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83, Linux 68c665bb185037e7eb66fb792c61da9d7151e99c, Linux 2a764d55e938743efa7c2cba7305633bcf227f09, Linux 7e0ae8667fcdd99d1756922e1140cac75f5fa279, Linux 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51, Linux 4.20, Linux 5.4.238, Linux 5.10.176, Linux 5.15.104, Linux 6.1.21, Linux 6.2.8. Upgrade Linux to 4.20 or later. Upgrade Linux to 6.2.8 or later.

### How do I check if I'm affected by CVE-2023-53118?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/88c3d3bb6469cea929ac68fd326bdcbefcdfdd83>
- patch: <https://git.kernel.org/stable/c/68c665bb185037e7eb66fb792c61da9d7151e99c>
- patch: <https://git.kernel.org/stable/c/2a764d55e938743efa7c2cba7305633bcf227f09>
- patch: <https://git.kernel.org/stable/c/7e0ae8667fcdd99d1756922e1140cac75f5fa279>
- patch: <https://git.kernel.org/stable/c/73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51>
- patch: <https://git.kernel.org/stable/c/be03df3d4bfe7e8866d4aa43d62e648ffe884f5f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53118>

HTML: <https://flawdb.com/CVE-2023-53118> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53118>
