PatchSiren cyber security CVE debrief
CVE-2026-64071 Linux CVE debrief
A use-after-free vulnerability was found in the Linux kernel's nvme-pci module. The issue arises when nvme_free_host_mem() is called twice in the same error path, leading to a NULL pointer dereference. This can happen during nvme_probe() when nvme_setup_host_mem() succeeds in allocating the HMB but nvme_set_host_mem() fails with an I/O error. The vulnerability can cause system crashes or instability, particularly in environments using Thunderbolt-attached NVMe devices. To address this, developers should be aware of the need for updates to the Linux kernel to a version that includes the fix. Additionally, implementing extra checks in nvme_probe() can help prevent double-freeing of dev->hmb_sgt.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- HIGH 7.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-19
- Original CVE updated
- 2026-09-03
- Advisory published
- 2026-07-19
- Advisory updated
- 2026-09-03
Who should care
Linux kernel developers and users, particularly those using Thunderbolt-attached NVMe devices, should be aware of this vulnerability. The issue can cause a NULL pointer dereference and potentially lead to system crashes or instability. Affected operators and security teams should prioritize updating the Linux kernel to a version that includes the fix.
Technical summary
The vulnerability is caused by nvme_free_host_mem() freeing dev->hmb_sgt via dma_free_noncontiguous() but not clearing the pointer afterward. This leads to a use-after-free if nvme_free_host_mem() is called twice in the same error path. The issue can be triggered during nvme_probe() when nvme_setup_host_mem() succeeds but nvme_set_host_mem() fails with an I/O error. To fix this, setting dev->hmb_sgt to NULL after freeing it prevents use-after-free. The fix involves updating the Linux kernel to include this change.
Defensive priority
High
Recommended defensive actions
- Update the Linux kernel to a version that includes the fix
- Use a Thunderbolt dock or device that does not cause intermittent I/O errors during HMB setup
- Implement additional error checking and handling in nvme_probe() to prevent double-freeing of dev->hmb_sgt
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability was introduced due to a missing NULL assignment to dev->hmb_sgt after freeing it in nvme_free_host_mem(). The fix involves setting dev->hmb_sgt to NULL after freeing it to prevent use-after-free. Evidence of the vulnerability includes the stacktrace showing a NULL pointer dereference in iommu_dma_free_noncontiguous().
Sources and references
Verified primary and authoritative sources
-
CVE-2026-64071 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-64071
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-64071 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-64071
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/7c89f474005d8377525d2991930b7432ee193a52
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/9525e3a6fbb1d126a22ab2ee86ddea25af581a7c
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/b35a13036755c5803168a7cb93bc66035c3e65b8
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.