Kernel Kit / Infix / v26.10.0latest
CVE-2026-64019
5.5mediumlinux6.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 mapping leak on data setup error
We're leaking the initial DMA mapping during iteration if we fail to allocate the tracking descriptor for both PRP and SGL. Unmap the iterator directly; we can't use the existing unmap helper because it depends on the tracking descriptor being successfully allocated, so a new one for an in-use iterator is provided.
The mappings were also leaking when the driver detects an invalid bio_vec when mapping PRPs, so fix that too.
Published 2026-07-19NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-06
The upstream fix for CVE-2026-64019 ("nvme-pci: fix dma mapping leak on data setup error") is already contained in the linux 6.18.60 sources in this tree: the new nvme_unmap_iter() helper exists in drivers/nvme/host/pci.c and is called on the descriptor-allocation failure paths of both nvme_pci_setup_data_prp() and nvme_pci_setup_data_sgl(), and the invalid-bio_vec (bad_sgl) path and the 'done' error path now call nvme_unmap_data().
This is a stable backport that NVD's version range does not reflect.
The NVMe PCI driver is compiled in (CONFIG_BLK_DEV_NVME=y) but the vulnerable code is not, so no action is needed.
Evidence 7
…/ is output/build/linux-6.18.60/
The new in-use-iterator unmap helper introduced by the fix commit is present (blk_dma_unmap / dma_unmap_page on iter->addr).
…/drivers/nvme/host/pci.c:831-840 (nvme_unmap_iter)
PRP path calls nvme_unmap_iter() when the tracking descriptor (dma_vecs) allocation fails, instead of leaking the initial mapping.
…/drivers/nvme/host/pci.c:852-855 (nvme_pci_setup_data_prp)
SGL path calls nvme_unmap_iter() when dma_pool_alloc of the SG list fails.
…/drivers/nvme/host/pci.c:1003-1007 (nvme_pci_setup_data_sgl)
Invalid bio_vec path (bad_sgl) and error 'done' path call nvme_unmap_data(), fixing the second leak described in the CVE.
…/drivers/nvme/host/pci.c:945-961 (done:/bad_sgl:)
Kernel version is 6.18.60 (VERSION=6, PATCHLEVEL=18, SUBLEVEL=60).
…/Makefile:2-4
CONFIG_NVME_CORE=y, CONFIG_BLK_DEV_NVME=y — the driver is compiled in, but with the fixed code.
…/.config:2056-2057
No Infix patch touches drivers/nvme/host/pci.c; the only 'nvme'-named patches are NVMEM (onie-tlv, nvmem core), unrelated. The fix comes from the upstream stable tarball.
…/.applied_patches_list
Version and patches
NVD maps the CVE to linux_kernel 6.18.60. The 6.18.60 tarball used here already contains the stable backport of the fix (git.kernel.org/stable/c/1bf86336e4b6..., e50db059ec8e..., fba32257979d...): nvme_unmap_iter() and its call sites are present in drivers/nvme/host/pci.c. No Infix patch adds or removes it (139 patches applied, none for nvme/host).
Recommendation
No action; document as N/A (fix already present in 6.18.60 stable source). Optionally add a Buildroot IGNORE_CVES / SBOM annotation for CVE-2026-64019 to suppress future reports.
Open questions
None material. The exact stable release that first carried the backport was not verified against git history (the tree is a tarball, not a git checkout), but the fixed code is unambiguously present in the compiled source.
Members of Kernel Kit decide. Sign in if you are one.