Kernel Kit / Infix / v26.10.0latest
CVE-2026-64020
7.5highlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
nvme-pci: fix dma_vecs leak on p2p memory
We don't unmap P2P memory, so we don't need to track it. The dma_vec allocation was getting leaked on the completion.
Published 2026-07-19NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-06
The upstream fix for CVE-2026-64020 (skip dma_vec tracking for P2PDMA requests, since the unmap path never frees them) is already present in the configured kernel source: nvme_pci_prp_save_mapping() in drivers/nvme/host/pci.c returns early when req->cmd_flags has REQ_P2PDMA, which is exactly the hunk the stable fix adds.
This means linux 6.18.60 is a stable release that includes the backport and NVD's range is simply stale.
The NVMe PCI driver is compiled in (CONFIG_BLK_DEV_NVME=y) but CONFIG_PCI_P2PDMA is not set, so the P2P path could not be exercised anyway.
Evidence 6
…/ is output/build/linux-6.18.60/
Contains `if (dma_use_iova(&iod->dma_state) || !dma_need_unmap(dma_dev) || (req->cmd_flags & REQ_P2PDMA)) return true;` — the REQ_P2PDMA check is the fix hunk from the referenced stable commits, so no dma_vecs are allocated for P2P requests.
…/drivers/nvme/host/pci.c:798-800 (nvme_pci_prp_save_mapping)
Unmap path only calls nvme_free_prps() when blk_rq_dma_unmap() returns false; with the fix, P2P requests never allocate dma_vecs, so nothing is leaked.
…/drivers/nvme/host/pci.c:765-789 (nvme_unmap_data) and :706-716 (nvme_free_prps)
VERSION 6 PATCHLEVEL 18 SUBLEVEL 60 — the configured source is the stable 6.18.60 release that contains the backport.
…/Makefile:1-4
CONFIG_NVME_CORE=y, CONFIG_BLK_DEV_NVME=y — the driver is built in (consistent with objects.txt listing drivers/nvme/host/pci.o).
…/.config:2056-2057
CONFIG_PCI_P2PDMA is absent/not set, so REQ_P2PDMA requests cannot be issued on this build regardless of the fix.
…/.config (grep CONFIG_PCI_P2PDMA)
No Infix patch touches drivers/nvme/host/pci.c (only nvmem-layouts patches match 'nvme'); the fix comes from the upstream stable tarball itself.
…/.applied_patches_list
Version and patches
NVD maps the CVE to linux_kernel 6.18.60, but the configured 6.18.60 source already contains the fix hunk (REQ_P2PDMA check in nvme_pci_prp_save_mapping) from the referenced stable commits (24ea0de233d9 / 85686c72966c / b9390aa62fdc). No Buildroot/Infix patch is involved; the fix is in the upstream tarball.
Recommendation
No action; document as N/A (fix present in 6.18.60 source, and CONFIG_PCI_P2PDMA is additionally disabled).
Open questions
The fix commit text could not be fetched (no network), so identification of the fix hunk is based on the CVE description ("we don't need to track P2P memory") matching the REQ_P2PDMA early-return in nvme_pci_prp_save_mapping; this is the only plausible location for that change.
Members of Kernel Kit decide. Sign in if you are one.