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.
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s SCSI disk driver contains a flaw where a missing put_disk() call leaves a gendisk reference after device_add(&disk_dev) fails. This resource management error can cause memory or resource leaks, and repeated failures could lead to system instability or a denial of service. The weakness is classified as CWE-772: Resource Management Errors.

Affected Systems

All versions of the Linux kernel prior to the commit correcting the missing put_disk() call are impacted. The affected product is the Linux kernel as a whole, and the vendors listed are Linux: Linux.

Risk and Exploitability

The flaw is triggered during the kernel's handling of SCSI device addition, which normally occurs with elevated privileges. An attacker would need to force device_add(&disk_dev) to fail, for example by introducing a malfunctioning SCSI device. As the vulnerability is not in the CISA KEV catalog, the public exploitation likelihood is unclear, but the CVSS score of 5.5 indicates a moderate severity. Local privileged attackers could repeatedly induce the error path to consume resources or destabilize the system.

Generated by OpenCVE AI on May 28, 2026 at 03:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that adds the missing put_disk() call in the sd_probe() function.
  • Reboot the system or reload the kernel to ensure the patched driver takes effect.
  • If a kernel update cannot be performed immediately, limit the addition of new SCSI devices and disable auto‑probing for untrusted devices to reduce the risk of triggering the bug.

Generated by OpenCVE AI on May 28, 2026 at 03:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe: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:*:*:*:*:*:*

Mon, 01 Jun 2026 17:00:00 +0000


Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T17:47:03.622Z

Reserved: 2026-05-13T15:03:33.091Z

Link: CVE-2026-45997

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:17.280

Modified: 2026-06-16T13:41:25.560

Link: CVE-2026-45997

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45997 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T04:00:10Z

Weaknesses