# CVE-2026-45997: scsi: sd: fix missing put\_disk() when device\_add(&disk\_dev) fails

> 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:55:51.154Z
- **Modified:** 2026-11-06T17:17:29.033Z

## Who should check

- Anyone running Linux \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 2c2c14b7dfccad8c5a28802849e40c21252e4c28; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 262152ec37101f9dc524743ccdbd6c7641d14573; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< b64b4f499801b12d0e2785447e4df6c164c608a9; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 13e550fbfccdb311e76ec96892dfe35f0dba0657; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< a95d38c5701431bfc826e7b18acc0785919d5c88; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 1e111c4b3a726df1254670a5cc4868cedb946d37; d56459d361a9a99bead8b594635353053271356c; a3e5a9208466b63f27a2509a691023b446ea5105; 4e8e6427319de323f613caa8fd37120df83138d0; eadb60bcc2005247d97dcb3becee57aba4024ff4; …
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: sd: fix missing put\_disk() when device\_add(&disk\_dev) fails

If device\_add(&sdkp-\>disk\_dev) fails, put\_device() runs
scsi\_disk\_release(), which frees the scsi\_disk but leaves the gendisk
referenced. The device\_add\_disk() error path in sd\_probe() calls
put\_disk(gd); call put\_disk(gd) here to mirror that cleanup.

## Affected and fixed versions

- Linux: \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 2c2c14b7dfccad8c5a28802849e40c21252e4c28; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 262152ec37101f9dc524743ccdbd6c7641d14573; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< b64b4f499801b12d0e2785447e4df6c164c608a9; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 13e550fbfccdb311e76ec96892dfe35f0dba0657; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< a95d38c5701431bfc826e7b18acc0785919d5c88; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 1e111c4b3a726df1254670a5cc4868cedb946d37; d56459d361a9a99bead8b594635353053271356c; a3e5a9208466b63f27a2509a691023b446ea5105; 4e8e6427319de323f613caa8fd37120df83138d0; eadb60bcc2005247d97dcb3becee57aba4024ff4; … (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-45997.md
Affected: Linux >= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, < 2c2c14b7dfccad8c5a28802849e40c21252e4c28; >= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, < 262152ec37101f9dc524743ccdbd6c7641d14573; >= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, < b64b4f499801b12d0e2785447e4df6c164c608a9; >= 265dfe8ebbabae7959060bd…
Fixed in: Linux 2c2c14b7dfccad8c5a28802849e40c21252e4c28, Linux 262152ec37101f9dc524743ccdbd6c7641d14573, Linux 13e550fbfccdb311e76ec96892dfe35f0dba0657, Linux 1e111c4b3a726df1254670a5cc4868cedb946d37

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-2026-45997 being exploited?

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

### How serious is CVE-2026-45997?

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

### Which versions are affected by CVE-2026-45997?

Linux \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 2c2c14b7dfccad8c5a28802849e40c21252e4c28; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 262152ec37101f9dc524743ccdbd6c7641d14573; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< b64b4f499801b12d0e2785447e4df6c164c608a9; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 13e550fbfccdb311e76ec96892dfe35f0dba0657; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< a95d38c5701431bfc826e7b18acc0785919d5c88; \>= 265dfe8ebbabae7959060bd1c3f75c2473b697ed, \< 1e111c4b3a726df1254670a5cc4868cedb946d37; d56459d361a9a99bead8b594635353053271356c; a3e5a9208466b63f27a2509a691023b446ea5105; 4e8e6427319de323f613caa8fd37120df83138d0; eadb60bcc2005247d97dcb3becee57aba4024ff4; …; Linux 5.15.

### Is there a fix for CVE-2026-45997?

Yes. Fixed in Linux 2c2c14b7dfccad8c5a28802849e40c21252e4c28, Linux 262152ec37101f9dc524743ccdbd6c7641d14573, Linux 13e550fbfccdb311e76ec96892dfe35f0dba0657, Linux 1e111c4b3a726df1254670a5cc4868cedb946d37. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-45997?

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/2c2c14b7dfccad8c5a28802849e40c21252e4c28>
- patch: <https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573>
- patch: <https://git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9>
- patch: <https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657>
- patch: <https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88>
- patch: <https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## 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-2026-45997>

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