CVE-2026-45997
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| perf | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-livepatch-6.18.30-61.116 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.88-119.157.amzn2023 |
| kernel-livepatch-6.12.88-119.157 | Amazon Linux | 1:1.0-0.amzn2023 |
3 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 265dfe8ebbabae7959060bd1c3f75c2473b697ed, 265dfe8ebbabae7959060bd1c3f75c2473b697ed, 265dfe8ebbabae7959060bd1c3f75c2473b697ed |
| Linux | Linux | 5.15, 0, 6.1.175 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| linux | linux_kernel | 5.10.72, 5.15, 5.15 |
| amazon:2023 | kernel-livepatch-6.1.175-219.357 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…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