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
Updated
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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 2c2c14b7dfccad8c5a28802849e40c21252e4c28 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 262152ec37101f9dc524743ccdbd6c7641d14573 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < b64b4f499801b12d0e2785447e4df6c164c608a9 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 13e550fbfccdb311e76ec96892dfe35f0dba0657 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < a95d38c5701431bfc826e7b18acc0785919d5c88 ; affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed < 1e111c4b3a726df1254670a5cc4868cedb946d37
Linux · Linuxaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD