VDB

CVE-2026-45997

CVE-2026-45997 PUBLISHED

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

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftool6.18Amazon Linux1:6.18.30-61.116.amzn2023
perfAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.88-119.157.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.88-119.157.amzn2023
kernel-headersAmazon Linux1:6.1.175-219.357.amzn2023
perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-headersAmazon Linux1:6.12.88-119.157.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.88-119.157.amzn2023
kernel-livepatch-6.12.88-119.157Amazon Linux1:1.0-0.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux265dfe8ebbabae7959060bd1c3f75c2473b697ed, 265dfe8ebbabae7959060bd1c3f75c2473b697ed, 265dfe8ebbabae7959060bd1c3f75c2473b697ed
LinuxLinux5.15, 0, 6.1.175
amazon:2023bpftool6.180
amazon:2023perf0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023perf6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
linuxlinux_kernel5.10.72, 5.15, 5.15
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel6.18-modules-extra0

…and 18 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (15 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45997
vulnetix vdb fixes CVE-2026-45997

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45997/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›