CVE-2026-45997·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
Affected versions
From: 6.19
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to patch a memory management issue in the SCSI disk driver. This vulnerability affects kernel versions 6.19 through 7.0.3 and can lead to denial of service conditions when device initialization fails. Apply the kernel update at your earliest convenience and reboot to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check kernel version with: uname -r (confirm version is between 6.19 and 7.0.3)
- Verify SCSI disk driver presence with: lsmod | grep -i scsi (look for sd_mod or scsi_mod)
- Search system logs for device_add failures: grep -i 'device_add.*fail\|scsi.*error' /var/log/kern.log /var/log/dmesg
- After patching, verify with: uname -r (confirm version is 7.0.4 or higher)
FAQ
What is CVE-2026-45997?
This vulnerability is a memory leak in the Linux kernel's SCSI disk (sd) driver where a gendisk structure is not properly released when device initialization fails, leaving it referenced in memory and potentially causing resource exhaustion or denial of service.
Is CVE-2026-45997 being actively exploited?
No, CVE-2026-45997 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. This is primarily a stability and resource management issue rather than a direct attack vector.
What versions of Kernel are affected by CVE-2026-45997?
Kernel versions 6.19 through 7.0.3 are vulnerable. Version 7.0.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-45997?
Run 'uname -r' to check your kernel version. If the output shows a version between 6.19 and 7.0.3 (inclusive), your system is vulnerable and requires a kernel update.
Does Defensia detect CVE-2026-45997?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-45997 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/13e550fbfccdb311e76ec96892dfe35f0dba0657
- https://git.kernel.org/stable/c/1e111c4b3a726df1254670a5cc4868cedb946d37
- https://git.kernel.org/stable/c/262152ec37101f9dc524743ccdbd6c7641d14573
- https://git.kernel.org/stable/c/2c2c14b7dfccad8c5a28802849e40c21252e4c28
- https://git.kernel.org/stable/c/a95d38c5701431bfc826e7b18acc0785919d5c88
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-45997. Free for 1 server.
Get started free