---
id: CVE-2026-90241
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  iommu/vt-d: Tear down scalable-mode context on probe failure

  intel_pasid_setup_sm_context() walks a PCI device’s DMA aliases via
  pci_for_each_dma_alias() and programs …
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  iommu/vt-d: Tear down scalable-mode context on probe failure

  intel_pasid_setup_sm_context() walks a PCI device’s DMA aliases via
  pci_for_each_dma_alias() and programs …
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 301f1a80487fd2f51012533792583d4425e8b8c0 <
    25ac85a9747cd63e1d166ace7b360a2cd9479d9d
  - >-
    Linux >= 301f1a80487fd2f51012533792583d4425e8b8c0 <
    d0e978ced7429b516358bb4d41d337214768ae98
  - >-
    Linux >= 301f1a80487fd2f51012533792583d4425e8b8c0 <
    db5daf25f754cdc20c18525adb88240ece6fdee9
  - >-
    Linux >= 301f1a80487fd2f51012533792583d4425e8b8c0 <
    c509fb73a1093a15accd7d43a61645d4b520f6ac
  - Linux 6.9
published: '2026-09-17'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T18:17:50.390'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90241'
references:
  - url: 'https://git.kernel.org/stable/c/25ac85a9747cd63e1d166ace7b360a2cd9479d9d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c509fb73a1093a15accd7d43a61645d4b520f6ac'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d0e978ced7429b516358bb4d41d337214768ae98'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/db5daf25f754cdc20c18525adb88240ece6fdee9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00182
epssPercentile: 0.06914
ingestedAt: '2026-09-17T16:21:47.847Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

iommu/vt-d: Tear down scalable-mode context on probe failure

intel_pasid_setup_sm_context() walks a PCI device’s DMA aliases via
pci_for_each_dma_alias() and programs a scalable-mode context entry for
each RID. For a device with a dma_alias_mask, the callback is invoked
once for the device’s own RID and once for each alias bit, all with the
same pci_dev, so device_pasid_table_setup() runs for multiple RIDs.

pci_for_each_dma_alias() stops at the first callback error. Therefore, a
failure partway through the walk can leave context entries for already
processed RIDs present and still pointing to the device’s PASID table.

On this error path, intel_iommu_probe_device() currently jumps directly
to intel_pasid_free_table(), which frees the PASID table without
first tearing down those context entries. The IOMMU may then walk a
present context entry whose PASID table pointer references freed
memory.

intel_iommu_release_device() already performs teardown before freeing the
table. Apply the same ordering on the probe failure path.

device_pasid_table_teardown() safely handles RIDs that were never
programmed: iommu_context_addr() returns NULL when no context table has
been allocated, and clearing the Present bit of an already non-present
entry is a no-op. So unwind is safe for both the alias that failed and
any aliases not yet reached.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
