Bug 2482039 (CVE-2026-45997) - CVE-2026-45997 kernel: scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
Summary: CVE-2026-45997 kernel: scsi: sd: fix missing put_disk() when device_add(&...
Keywords:
Status: NEW
Alias: CVE-2026-45997
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:08 UTC by OSIDB Bzimport
Modified: 2026-05-27 21:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:08:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.