---
id: CVE-2025-38216
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.12, < 6.12.35'
  - 'linux_kernel >= 6.13, < 6.15.4'
patched:
  - linux_kernel 6.15.4
published: '2025-07-04'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:35.673'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-38216'
references:
  - url: 'https://git.kernel.org/stable/c/320302baed05c6456164652541f23d2a96522c06'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d43c81b691813e16a2d08208ce8947aebdab83cd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fb5873b779dd5858123c19bbd6959566771e2e83'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00173
epssPercentile: 0.06693
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:48:38.386362Z'
ingestedAt: '2026-10-15T22:48:25.499Z'
---

## Overview

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

- `linux_kernel >= 6.12, < 6.12.35`
- `linux_kernel >= 6.13, < 6.15.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.15.4`
