# scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

CVE record · `CVE-2026-45997`

- **Identifiers:** `CVE-2026-45997`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:55 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: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before 2c2c14b7dfccad8c5a28802849e40c21252e4c28` (git)
  - affected: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before 262152ec37101f9dc524743ccdbd6c7641d14573` (git)
  - affected: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before b64b4f499801b12d0e2785447e4df6c164c608a9` (git)
  - affected: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before 13e550fbfccdb311e76ec96892dfe35f0dba0657` (git)
  - affected: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before a95d38c5701431bfc826e7b18acc0785919d5c88` (git)
  - affected: `265dfe8ebbabae7959060bd1c3f75c2473b697ed to before 1e111c4b3a726df1254670a5cc4868cedb946d37` (git)
  - affected: `d56459d361a9a99bead8b594635353053271356c` (git)
  - affected: `a3e5a9208466b63f27a2509a691023b446ea5105` (git)
  - affected: `4e8e6427319de323f613caa8fd37120df83138d0` (git)
  - affected: `eadb60bcc2005247d97dcb3becee57aba4024ff4` (git)
  - affected: `350d048cc506368a316f0bc4082426b24a2a9fc0` (git)
  - affected: `60df9f55562a57173a11b6c7011eee40dfa48157` (git)
  - and 8 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.140 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.86 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.27 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.4 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 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 sd driver leaks a gendisk reference when device registration fails during disk setup, which is a memory leak. The source gives few details on attacker access or impact. Upgrade to a fixed kernel, such as 6.1.175, 6.6.140, 6.12.86, or 6.18.27 or later in those series.

Written 17 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.0012, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2026, 12:55 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-45997)
- 27 May 2026, 14:17 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-45997)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28>
- <https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573>
- <https://git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9>
- <https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657>
- <https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88>
- <https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37>

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-2026-45997>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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