CVE-2024-27392
published high CVSS 3.1 · 7.8nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa1a825ab6a60380240ca136596732fdb80bad87a to < 534f9dc7fe495b3f9cc84363898ac50c5a25fccb · a1a825ab6a60380240ca136596732fdb80bad87a to < 8d0d2447394b13fb22a069f0330f9c49b7fff9d3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is entered only by a local `read()` on the world-readable sysfs attribute `/sys/block/nvmeXnY/nuse`; a remote NVMe-oF target can supply the failing Identify status but cannot itself initiate the code path. AC:L - There is no race to win — the second `kfree()` executes unconditionally in the same call once `nvme_identify_ns()` returns an error, and in an NVMe-over-TCP/fabrics deployment the attacker controls the target's Identify response (or forces a reconnect) so the controller is non-LIVE and every read hits the error leg reliably. PR:L - `nuse` is a `DEVICE_ATTR_RO` (0444) attribute with no capability check on the read path, so any unprivileged local user or container process with `/sys` mounted can trigger it. UI:N - The attacker performs the sysfs read itself; no action by any other user or administrator is required. S:U - The corruption is confined to the kernel heap of the same system and does not cross a virtualization, IOMMU, or other security-authority boundary. C:H - A double free of a 4096-byte kmalloc-4k object lets two subsequent allocations alias the same memory, producing type confusion/use-after-free that can be leveraged to read arbitrary kernel memory. I:H - Freelist corruption from the double free gives the attacker overlapping ownership of a heap object, a well-known route to arbitrary kernel write and control-flow hijack/privilege escalation. A:H - The double free trips KASAN/`CONFIG_SLAB_FREELIST_HARDENED` BUG checks and otherwise corrupts the SLUB freelist, causing kernel oops or panic; it can be re-triggered by repeated reads.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a1a825ab6a60380240ca136596732fdb80bad87a to < 534f9dc7fe495b3f9cc84363898ac50c5a25fccb (affected · git)a1a825ab6a60380240ca136596732fdb80bad87a to < 8d0d2447394b13fb22a069f0330f9c49b7fff9d3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 51ca6cb0f8dfa0c660c66ab9041a5f50e53f86c5f3151a8d8eff66cebcd170a8
- Ingested
- 23 Sep 2026, 08:20:47 UTC
- Source record
- Official CVE record