CVE-2026-64071: Linux kernel · nvme-pci: fix use-after-free in nvme_free_host_mem()
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix is available that sets the dev->hmb_sgt pointer to NULL after freeing it in nvme_free_host_mem(), preventing use-after-free. Users should apply the official Linux kernel patches that address CVE-2026-64071. Since this is a kernel-level issue, updating to a kernel version containing this fix is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and update accordingly.
Description
A use-after-free vulnerability in the Linux kernel's nvme-pci driver was resolved. The function nvme_free_host_mem() frees a memory pointer dev->hmb_sgt but does not clear it, leading to a potential use-after-free if called twice in the same error path. This can cause a NULL pointer dereference in iommu_dma_free_noncontiguous(), resulting in kernel crashes. The issue is triggered during NVMe device probing when host memory setup partially succeeds but then fails. The fix sets dev->hmb_sgt to NULL after freeing to prevent reuse of freed memory.
References
- nvd.nist.gov/vuln/detail/CVE-2026-64071 (opens in a new tab)
- git.kernel.org/stable/c/7c89f474005d8377525d2991930b7432ee193a52 (opens in a new tab)
- git.kernel.org/stable/c/9525e3a6fbb1d126a22ab2ee86ddea25af581a7c (opens in a new tab)
- git.kernel.org/stable/c/b35a13036755c5803168a7cb93bc66035c3e65b8 (opens in a new tab)