CVE-2026-100067

iommufd: Keep dmabuf PFNs MMIO when filling another domain

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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().

Analysis

AI-generated

Technical impact

In the Linux kernel, a defect in the handling of VFIO PCI dmabuf mapping caused the kernel to incorrectly apply IOMMU protection attributes. When a dmabuf is mapped into an IO access space, the domain used for the mapping may change after the mapping has been established. The bug results in the BAR of the device being mapped with cacheable CPU memory (IOMMU_CACHE) instead of the intended MMIO state (IOMMU_MMIO). This mismatch can lead to improper memory protection, allowing a process to read or write memory protected as MMIO memory through a poorly protected mapping. The impact is a potential privilege escalation or data leakage if an attacker can exploit the mis‑protected memory region.

Affected Systems

The affected component is the Linux kernel’s IOMMU subsystem, specifically the handling of VFIO PCI dmabuf objects. The bug is present in all vendors’ builds of the Linux kernel that include the default IOMMU implementation. No specific kernel release or vendor is enumerated in the CVE data, so any system running the affected kernel code is potentially vulnerable. Systems that use VFIO PCI devices with shared dmabuf memory and that rely on IOMMU protection for isolation are in scope.

Risk and Exploitability

The CVE data does not provide a CVSS score or EPSS value, and the vulnerability is not listed in the CISA KEV catalog. Therefore, the formal severity rating is unavailable, and it is not known whether the vulnerability has been actively exploited. The attack vector requires that the attacker has the ability to map a dmabuf into an IO access space, which typically requires privileged access to kernel interfaces or an existing vulnerability that allows the attacker to bind to a affected VFIO device. Without such access, the likelihood of exploitation remains low. However, the potential consequence—privilege escalation through mis‑protected memory—warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that corrects the dmabuf mapping for VFIO PCI devices
  • Reboot the system to ensure the updated kernel is in use
  • If an update cannot be applied immediately, restrict access to VFIO PCI devices that expose dmabuf to untrusted userspace until the kernel patch is available

Generated by OpenCVE AI on November 30, 2026 at 16:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
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().
Title iommufd: Keep dmabuf PFNs MMIO when filling another domain
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM