# CVE-2026-90241: iommu/vt-d: Tear down scalable-mode context on probe failure

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:45.168Z
- Modified: 2026-10-19T09:19:14.563Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 301f1a80487fd2f51012533792583d4425e8b8c0 before 25ac85a9747cd63e1d166ace7b360a2cd9479d9d; from 301f1a80487fd2f51012533792583d4425e8b8c0 before d0e978ced7429b516358bb4d41d337214768ae98; from 301f1a80487fd2f51012533792583d4425e8b8c0 before db5daf25f754cdc20c18525adb88240ece6fdee9; from 301f1a80487fd2f51012533792583d4425e8b8c0 before c509fb73a1093a15accd7d43a61645d4b520f6ac; 6.9 (not affected: before 6.9; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/25ac85a9747cd63e1d166ace7b360a2cd9479d9d>
- <https://git.kernel.org/stable/c/d0e978ced7429b516358bb4d41d337214768ae98>
- <https://git.kernel.org/stable/c/db5daf25f754cdc20c18525adb88240ece6fdee9>
- <https://git.kernel.org/stable/c/c509fb73a1093a15accd7d43a61645d4b520f6ac>

## Sources

- CVE List: [CVE-2026-90241](https://www.cve.org/CVERecord?id=CVE-2026-90241), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90241](https://nvd.nist.gov/vuln/detail/CVE-2026-90241), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90241 · Whole record: https://cve.day/CVE-2026-90241.json · Rebuilt by cve.day 2026-11-25T22:59:39.354Z
