In the Linux kernel, the following vulnerability has been resolved:
nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()
When nvme_identify_ns() fails, it frees the pointer to the struct nvme_id_ns before it returns. However, ns_update_nuse() calls kfree() for the pointer even when nvme_identify_ns() fails. This results in KASAN double-free, which was observed with blktests nvme/045 with proposed patches [1] on the kernel v6.8-rc7. Fix the double-free by skipping kfree() when nvme_identify_ns() fails.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Jul 9, 2025 | May 1, 2024 |
| Ubuntu | — | Upgrade linux-image-generic-64kUpgrade linux-image-6.8.0-1004-gkeUpgrade linux-image-lowlatencyUpgrade linux-image-oem-24.04aUpgrade linux-image-6.8.0-1006-oracleUpgrade linux-image-6.8.0-1008-azureUpgrade linux-image-azure-fdeUpgrade linux-image-6.8.0-1005-raspiUpgrade linux-image-oracle-64kUpgrade linux-image-genericUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-virtualUpgrade linux-image-lowlatency-64kUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-ibmUpgrade linux-image-generic-lpaeUpgrade linux-image-gcpUpgrade linux-image-ibm-classicUpgrade linux-image-6.8.0-1006-oemUpgrade linux-image-raspiUpgrade linux-image-gkeUpgrade linux-image-oracleUpgrade linux-image-kvmUpgrade linux-image-6.8.0-35-genericUpgrade linux-image-6.8.0-1006-ibmUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-6.8.0-35-lowlatency-64kUpgrade linux-image-oem-24.04Upgrade linux-image-6.8.0-35-lowlatencyUpgrade linux-image-6.8.0-1008-gcpUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-6.8.0-1009-awsUpgrade linux-image-6.8.0-1008-azure-fdeUpgrade linux-image-awsUpgrade linux-image-6.8.0-35-generic-64kUpgrade linux-image-azureUpgrade linux-image-6.8.0-1006-oracle-64k | Jul 1, 2024 | May 1, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub