What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2026-45997 or the next vulnerability affects your stack