Local privilege escalation via NVMe namespace double-free
Published May 1, 2024 · Updated Aug 5, 2026
A double-free in Linux kernel 6.8 NVMe sysfs handling allows local users to corrupt kernel memory by reading the nuse attribute. On an Identify Namespace error, nvme_identify_ns() frees nvme_id_ns before ns_update_nuse() passes the same pointer to kfree(). A non-live NVMe controller and access to its readable sysfs entry are required; exploitation can crash the host or enable kernel memory access and privilege escalation.
Summary
What happened
A double-free in Linux kernel 6.8 NVMe sysfs handling allows local users to corrupt kernel memory by reading the nuse attribute. On an Identify Namespace error, nvme_identify_ns() frees nvme_id_ns before ns_update_nuse() passes the same pointer to kfree(). A non-live NVMe controller and access to its readable sysfs entry are required; exploitation can crash the host or enable kernel memory access and privilege escalation.
The record
- CVE
- CVE-2024-27392
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.8
- Affected versionversion=a1a825ab6a60380240ca136596732fdb80bad87a <534f9dc7fe495b3f9cc84363898ac50c5a25fccb
- Affected versionversion=a1a825ab6a60380240ca136596732fdb80bad87a <8d0d2447394b13fb22a069f0330f9c49b7fff9d3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo