CVE-2026-45997

scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails

MEDIUM
5.5
CVSS Score
Published: May 27, 2026 at 12:55 PM UTC
Updated: October 15, 2026 at 02:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14.250 ≤ v < 4.154.19.210 ≤ v < 4.204.4.288 ≤ v < 4.54.9.286 ≤ v < 4.105.10.72 ≤ v < 5.115.14.11 ≤ v < 5.155.15.1 ≤ v < 6.1.1755.4.152 ≤ v < 5.56.13 ≤ v < 6.18.276.19 ≤ v < 7.0.46.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.86265dfe8ebbabae7959060bd1c3f75c2473b697ed350d048cc506368a316f0bc4082426b24a2a9fc04.14.2504.19.2104.4.2884.9.2864e8e6427319de323f613caa8fd37120df83138d05.10.725.14.115.155.15 rc35.15 rc45.15 rc55.15 rc65.15 rc75.4.15260df9f55562a57173a11b6c7011eee40dfa48157a3e5a9208466b63f27a2509a691023b446ea5105d56459d361a9a99bead8b594635353053271356ce95f62013a1159eeea752bb52df0683ee77f70caeadb60bcc2005247d97dcb3becee57aba4024ff4
Vendor states this is fixed in 13e550fbfccdb311e76ec96892dfe35f0dba0657 (fixed)
Vendor states this is fixed in 1e111c4b3a726df1254670a5cc4868cedb946d37 (fixed)
Vendor states this is fixed in 262152ec37101f9dc524743ccdbd6c7641d14573 (fixed)
Vendor states this is fixed in 2c2c14b7dfccad8c5a28802849e40c21252e4c28 (fixed)
Vendor states this is fixed in a95d38c5701431bfc826e7b18acc0785919d5c88 (fixed)
Vendor states this is fixed in b64b4f499801b12d0e2785447e4df6c164c608a9 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.15 (unaffected)
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.86 (unaffected)
Vendor states this is fixed in 6.18.27 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.4 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card