# CVE-2026-45997: scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-27T12:55:51.154Z
- Modified: 2026-11-06T17:17:29.033Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before 2c2c14b7dfccad8c5a28802849e40c21252e4c28; from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before 262152ec37101f9dc524743ccdbd6c7641d14573; from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before b64b4f499801b12d0e2785447e4df6c164c608a9; from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before 13e550fbfccdb311e76ec96892dfe35f0dba0657; from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before a95d38c5701431bfc826e7b18acc0785919d5c88; from 265dfe8ebbabae7959060bd1c3f75c2473b697ed before 1e111c4b3a726df1254670a5cc4868cedb946d37; d56459d361a9a99bead8b594635353053271356c; a3e5a9208466b63f27a2509a691023b446ea5105; 4e8e6427319de323f613caa8fd37120df83138d0; eadb60bcc2005247d97dcb3becee57aba4024ff4; 350d048cc506368a316f0bc4082426b24a2a9fc0; 60df9f55562a57173a11b6c7011eee40dfa48157; and 9 more (not affected: before 5.15; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.4.288 before 4.5; from 4.9.286 before 4.10; from 4.14.250 before 4.15; from 4.19.210 before 4.20; from 5.4.152 before 5.5; from 5.10.72 before 5.11; from 5.14.11 before 5.15; from 5.15.1 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4; and 1 more

## References

- <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> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-45997](https://www.cve.org/CVERecord?id=CVE-2026-45997), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-45997](https://nvd.nist.gov/vuln/detail/CVE-2026-45997), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-45997 · Whole record: https://cve.day/CVE-2026-45997.json · Rebuilt by cve.day 2026-11-25T22:59:22.539Z
