# CVE-2026-100067: iommufd: Keep dmabuf PFNs MMIO when filling another domain

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:34.722Z
- Modified: 2026-11-30T14:17:25.523Z
- 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/41a4026054ceed3539efa18e92cf6ac6282d5c7b>
- <https://git.kernel.org/stable/c/769f2cd9226c96619d77fa16af84de74cae41b6b>

## Sources

- CVE List: [CVE-2026-100067](https://www.cve.org/CVERecord?id=CVE-2026-100067), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100067](https://nvd.nist.gov/vuln/detail/CVE-2026-100067), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100067 · Whole record: https://cve.day/CVE-2026-100067.json · Rebuilt by cve.day 2026-11-30T14:32:18.344Z
