CVE-2026-45997
scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
At a glance Severity Not available EPSS EPSS 0.12 % · percentile 2 (2026-10-27) State PUBLISHED Published 2026-05-27 Updated 2026-10-15 Assigner Linux NVD status Modified
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 Version Score Vector Scored by CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H NVD · nvd@nist.gov (Primary)
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 4.4.288 < 4.5cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 4.9.286 < 4.10cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 4.14.250 < 4.15cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 4.19.210 < 4.20cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.4.152 < 5.5cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.10.72 < 5.11cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.14.11 < 5.15cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.15.1 < 6.1.175cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.2 < 6.6.140cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.7 < 6.12.86cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.13 < 6.18.27cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.19 < 7.0.4cpe:2.3:o:linux:linux_kernel:5.15:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc7:*:*:*:*:*:*
Affected products Product Versions Linux · Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 2c2c14b7dfccad8c5a28802849e40c21252e4c28 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 262152ec37101f9dc524743ccdbd6c7641d14573 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < b64b4f499801b12d0e2785447e4df6c164c608a9 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 13e550fbfccdb311e76ec96892dfe35f0dba0657 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < a95d38c5701431bfc826e7b18acc0785919d5c88 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 1e111c4b3a726df1254670a5cc4868cedb946d37 Linux · Linux affected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.* ; unaffected 6.12.86 ≤ 6.12.* ; unaffected 6.18.27 ≤ 6.18.*
References
Sources