CVE-2025-38216

published 4 Jul 2025 · updated 15 Oct 2026

iommu/vt-d: Restore context entry setup order for aliased devices

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 320302baed05c6456164652541f23d2a96522c06, Kernel d43c81b691813e16a2d08208ce8947aebdab83cd and Kernel fb5873b779dd5858123c19bbd6959566771e2e83.

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Restore context entry setup order for aliased devices Commit 2031c469f816 ("iommu/vt-d: Add support for static identity domain") changed the context entry setup during domain attachment from a set-and-check policy to a clear-and-reset approach. This inadvertently introduced a regression affecting PCI aliased devices behind PCIe-to-PCI bridges. Specifically, keyboard and touchpad stopped working on several Apple Macbooks with below messages: kernel: platform pxa2xx-spi.3: Adding to iommu group 20 kernel: input: Apple SPI Keyboard as /devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.3/spi_master/spi2/spi-APP000D:00/input/input0 kernel: DMAR: DRHD: handling fault status reg 3 kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr 0xffffa000 [fault reason 0x06] PTE Read access is not set kernel: DMAR: DRHD: handling fault status reg 3 kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr 0xffffa000 [fault reason 0x06] PTE Read access is not set kernel: applespi spi-APP000D:00: Error writing to device: 01 0e 00 00 kernel: DMAR: DRHD: handling fault status reg 3 kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr 0xffffa000 [fault reason 0x06] PTE Read access is not set kernel: DMAR: DRHD: handling fault status reg 3 kernel: applespi spi-APP000D:00: Error writing to device: 01 0e 00 00 Fix this by restoring the previous context setup order.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.12, >=2031c469f8161abe74189cb74f50da224f340b71 <320302baed05c6456164652541f23d2a96522c06, >=2031c469f8161abe74189cb74f50da224f340b71 <d43c81b691813e16a2d08208ce8947aebdab83cd, >=2031c469f8161abe74189cb74f50da224f340b71 <fb5873b779dd5858123c19bbd6959566771e2e83320302baed05c6456164652541f23d2a96522c06, d43c81b691813e16a2d08208ce8947aebdab83cd, fb5873b779dd5858123c19bbd6959566771e2e83

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38216 severity on Zeptric[![CVE-2025-38216](https://zeptric.io/badge/cve/CVE-2025-38216.svg)](https://zeptric.io/cve/CVE-2025-38216)