# scsi: core: Fix possible memory leak if device_add() fails

CVE record · `CVE-2023-53174`

- **Identifiers:** `CVE-2023-53174`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before 63956ad27a6882f01fea7c69e17823090f4c7b3f` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before 06c5340858011aa1195aec43a776e3185fbf7f56` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before e12fac07f61caac9c5b186d827658b3470787619` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before 6bc7f4c8c27d526f968788b8a985896755b1df35` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before b191ff1f075c4875f11271cbf0093e6e044a12aa` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before 43c0e16d0c5ec59398b405f4c4aa5a076e656c3f` (git)
  - affected: `ee959b00c335d7780136c5abda37809191fe52c3 to before 04b5b5cb0136ce970333a9c6cec7e46adba1ea3a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.26`
  - unaffected: `before 2.6.26` (semver)
  - unaffected: `4.14.323 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.292 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.254 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.191 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.127 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.46 to 6.1.*, inclusive` (semver)
  - unaffected: `6.4.11 to 6.4.*, inclusive` (semver)
  - unaffected: `6.5 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel SCSI core is affected from 2.6.26 until fixed. The source gives few details on how an attacker would trigger it, only that a memory leak occurs when device_add() fails because the name allocated by dev_set_name() is not freed. Upgrade to a fixed kernel release, such as 4.14.323, 4.19.292, 5.4.254, 5.10.191, or a later release on those branches.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 15 Sept 2025, 14:04 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2023-53174)
- 15 Sept 2025, 14:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-53174)

## Sources

- [CVE List: CVE-2023-53174](https://www.cve.org/CVERecord?id=CVE-2023-53174)
- [NVD: CVE-2023-53174](https://nvd.nist.gov/vuln/detail/CVE-2023-53174)

### References from the CNA

- <https://git.kernel.org/stable/c/63956ad27a6882f01fea7c69e17823090f4c7b3f>
- <https://git.kernel.org/stable/c/06c5340858011aa1195aec43a776e3185fbf7f56>
- <https://git.kernel.org/stable/c/e12fac07f61caac9c5b186d827658b3470787619>
- <https://git.kernel.org/stable/c/aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8>
- <https://git.kernel.org/stable/c/6bc7f4c8c27d526f968788b8a985896755b1df35>
- <https://git.kernel.org/stable/c/b191ff1f075c4875f11271cbf0093e6e044a12aa>
- <https://git.kernel.org/stable/c/43c0e16d0c5ec59398b405f4c4aa5a076e656c3f>
- <https://git.kernel.org/stable/c/04b5b5cb0136ce970333a9c6cec7e46adba1ea3a>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-53174>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-53174/>. Everything for agents: <https://agentprime.io/llms.txt>.
