CVE-2026-100067
JSON

Not scored

iommufd: Keep dmabuf PFNs MMIO when filling another domain

Severity
Not scored
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Keep dmabuf PFNs MMIO when filling another domain A VFIO PCI dmabuf mapped into an IOAS is mapped with IOMMU_MMIO only in the domains present when it is mapped. A domain added later, or a copy of the area into another IOAS, maps the same BAR as cacheable CPU memory: IOMMU_CACHE set and IOMMU_MMIO clear. Once the area is in pages->domains_itree, pfn_reader_fill_span() reads its PFNs back from the storage domain through batch_from_domain(), which adds them with batch_add_pfn() as BATCH_CPU_MEMORY. Only a hole in the span reaches pfn_reader_fill_dmabuf() and gets BATCH_MMIO, so batch_to_domain() programs the later domain with the wrong prot. The effect depends on the page table format. io-pgtable-arm maps the BAR as Normal cacheable instead of Device memory, the AMDv1 and x86_64 generic_pt formats set the SME C-bit on it when the tables are encrypted, and the RISC-V format with Svpbmt maps it as normal memory instead of IO. Read dmabuf PFNs from the recorded phys for every span, before the xarray and domain paths. The phys range is always available, and the read-back from a domain only serves to avoid re-pinning user pages. Sashiko pointed this out while reviewing an RFC that plumbs the dma-buf memory type through pfn_reader_fill_dmabuf().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 74014a4b55f5df935977368efe09d650e22495f0 before 41a4026054ceed3539efa18e92cf6ac6282d5c7b, from 74014a4b55f5df935977368efe09d650e22495f0 before 769f2cd9226c96619d77fa16af84de74cae41b6b, 6.19
Not affected: before 6.19, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-100067 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-100067 changed 2026-11-30Public domain