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-6.8.0-35-genericUpgrade linux-image-kvmUpgrade linux-image-gkeUpgrade linux-image-raspiUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-6.8.0-35-lowlatencyUpgrade linux-image-6.8.0-1006-oracle-64kUpgrade linux-image-6.8.0-1008-gcpUpgrade linux-image-oem-24.04Upgrade linux-image-azureUpgrade linux-image-6.8.0-35-lowlatency-64kUpgrade linux-image-6.8.0-35-generic-64kUpgrade linux-image-awsUpgrade linux-image-6.8.0-1008-azure-fdeUpgrade linux-image-6.8.0-1009-awsUpgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-oracleUpgrade linux-image-6.8.0-1006-ibmUpgrade linux-image-6.8.0-1006-oracleUpgrade linux-image-oem-24.04aUpgrade linux-image-6.8.0-1008-azureUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-generic-64kUpgrade linux-image-ibm-lts-24.04Upgrade linux-image-genericUpgrade linux-image-azure-fdeUpgrade linux-image-6.8.0-1004-gkeUpgrade linux-image-lowlatency-64kUpgrade linux-image-virtualUpgrade linux-image-lowlatencyUpgrade linux-image-6.8.0-1005-raspiUpgrade linux-image-oracle-64kUpgrade linux-image-ibm-classicUpgrade linux-image-6.8.0-1006-oemUpgrade linux-image-ibmUpgrade linux-image-gcpUpgrade linux-image-generic-lpae | 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