CVE-2025-38216

CVE-2025-38216

High · published July 4, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2025-07-04T18:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 6.12, < 6.12.356.12.35
linux/linux_kernel≥ 6.13, < 6.15.46.15.4
References (3)
EPSS history
Timeline
  • 04 JUL 13:37Z
    iommu/vt-d: Restore context entry setup order for aliased devices
    cvelistv5