What’s Vulnerable › Vulnerabilities
CVE-2026-45997: scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-10-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 products
- 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 — fixed in 4.10, 4.15, 4.20, 4.5, 5.11, 5.15
How to fix
Upgrade to a fixed version: Linux kernel 4.10, 4.15, 4.20, 4.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657
- https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37
- https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573
- https://git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28
- https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88
- https://git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Get alerted when CVE-2026-45997 or the next vulnerability affects your stack