CVE-2026-45997

MEDIUM

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

Title source: cna
STIX 2.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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (36)
linux/Kernel 5.15.0 - 6.1.175linux
linux/Kernel 6.13.0 - 6.18.27linux
linux/Kernel 6.19.0 - 7.0.4linux
linux/Kernel 6.2.0 - 6.6.140linux
linux/Kernel 6.7.0 - 6.12.86linux
Linux/Linux < 5.15
Linux/Linux 265dfe8ebbabae7959060bd1c3f75c2473b697ed - 13e550fbfccdb311e76ec96892dfe35f0dba0657
Linux/Linux 265dfe8ebbabae7959060bd1c3f75c2473b697ed - 1e111c4b3a726df1254670a5cc4868cedb946d37
Linux/Linux 265dfe8ebbabae7959060bd1c3f75c2473b697ed - 262152ec37101f9dc524743ccdbd6c7641d14573
Linux/Linux 265dfe8ebbabae7959060bd1c3f75c2473b697ed - 2c2c14b7dfccad8c5a28802849e40c21252e4c28
... and 26 more
Published May 27, 2026
Tracked Since May 27, 2026