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

Summary

CVECVE-2026-45997
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-27 14:17:17 UTC
Updated2026-06-16 13:41:25 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS: 0.000320000 probability, percentile 0.097350000 (date 2026-06-04)

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed 2c2c14b7dfccad8c5a28802849e40c21252e4c28 git Not specified
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed 262152ec37101f9dc524743ccdbd6c7641d14573 git Not specified
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed b64b4f499801b12d0e2785447e4df6c164c608a9 git Not specified
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed 13e550fbfccdb311e76ec96892dfe35f0dba0657 git Not specified
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed a95d38c5701431bfc826e7b18acc0785919d5c88 git Not specified
CNA Linux Linux affected 265dfe8ebbabae7959060bd1c3f75c2473b697ed 1e111c4b3a726df1254670a5cc4868cedb946d37 git Not specified
CNA Linux Linux affected d56459d361a9a99bead8b594635353053271356c git Not specified
CNA Linux Linux affected a3e5a9208466b63f27a2509a691023b446ea5105 git Not specified
CNA Linux Linux affected 4e8e6427319de323f613caa8fd37120df83138d0 git Not specified
CNA Linux Linux affected eadb60bcc2005247d97dcb3becee57aba4024ff4 git Not specified
CNA Linux Linux affected 350d048cc506368a316f0bc4082426b24a2a9fc0 git Not specified
CNA Linux Linux affected 60df9f55562a57173a11b6c7011eee40dfa48157 git Not specified
CNA Linux Linux affected e95f62013a1159eeea752bb52df0683ee77f70ca git Not specified
CNA Linux Linux affected 4.4.288 4.5 semver Not specified
CNA Linux Linux affected 4.9.286 4.10 semver Not specified
CNA Linux Linux affected 4.14.250 4.15 semver Not specified
CNA Linux Linux affected 4.19.210 4.20 semver Not specified
CNA Linux Linux affected 5.4.152 5.5 semver Not specified
CNA Linux Linux affected 5.10.72 5.11 semver Not specified
CNA Linux Linux affected 5.14.11 5.15 semver Not specified
CNA Linux Linux affected 5.15 Not specified
CNA Linux Linux unaffected 5.15 semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.140 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.86 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.27 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.4 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b64b4f499801b12d0e2785447e4df6c164c608a9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report