{"id":"CVE-2025-38216","published":"2025-07-04T13:37:33Z","modified":"2026-10-15T21:52:11Z","title":"iommu/vt-d: Restore context entry setup order for aliased devices","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Restore context entry setup order for aliased devices\n\nCommit 2031c469f816 (\"iommu/vt-d: Add support for static identity domain\")\nchanged the context entry setup during domain attachment from a\nset-and-check policy to a clear-and-reset approach. This inadvertently\nintroduced a regression affecting PCI aliased devices behind PCIe-to-PCI\nbridges.\n\nSpecifically, keyboard and touchpad stopped working on several Apple\nMacbooks with below messages:\n\n kernel: platform pxa2xx-spi.3: Adding to iommu group 20\n kernel: input: Apple SPI Keyboard as\n /devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.3/spi_master/spi2/spi-APP000D:00/input/input0\n kernel: DMAR: DRHD: handling fault status reg 3\n kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr\n 0xffffa000 [fault reason 0x06] PTE Read access is not set\n kernel: DMAR: DRHD: handling fault status reg 3\n kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr\n 0xffffa000 [fault reason 0x06] PTE Read access is not set\n kernel: applespi spi-APP000D:00: Error writing to device: 01 0e 00 00\n kernel: DMAR: DRHD: handling fault status reg 3\n kernel: DMAR: [DMA Read NO_PASID] Request device [00:1e.3] fault addr\n 0xffffa000 [fault reason 0x06] PTE Read access is not set\n kernel: DMAR: DRHD: handling fault status reg 3\n kernel: applespi spi-APP000D:00: Error writing to device: 01 0e 00 00\n\nFix this by restoring the previous context setup order.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00286,"percentile":0.13779,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fb5873b779dd5858123c19bbd6959566771e2e83","tags":[]},{"url":"https://git.kernel.org/stable/c/d43c81b691813e16a2d08208ce8947aebdab83cd","tags":[]},{"url":"https://git.kernel.org/stable/c/320302baed05c6456164652541f23d2a96522c06","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2031c469f8161abe74189cb74f50da224f340b71, < fb5873b779dd5858123c19bbd6959566771e2e83",">= 2031c469f8161abe74189cb74f50da224f340b71, < d43c81b691813e16a2d08208ce8947aebdab83cd",">= 2031c469f8161abe74189cb74f50da224f340b71, < 320302baed05c6456164652541f23d2a96522c06"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:48:38.386362Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-20040","exploited":false,"provenance":"source"}}