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

Published Sep 17, 2026
·
Updated

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

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

intelpasidsetupsmcontext() walks a PCI device’s DMA aliases via pciforeachdmaalias() and programs a scalable-mode context entry for each RID. For a device with a dmaaliasmask, the callback is invoked once for the device’s own RID and once for each alias bit, all with the same pcidev, so devicepasidtablesetup() runs for multiple RIDs.

pciforeachdmaalias() 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, inteliommuprobedevice() currently jumps directly to intelpasidfreetable(), 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.

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

devicepasidtableteardown() safely handles RIDs that were never programmed: iommucontextaddr() 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel Intel VT-d IOMMU driver with scalable-mode PASID context setup are exposed when probing a PCI device that has DMA aliases. The problematic path requires setup to fail after one or more alias RIDs have already had context entries programmed.

2

What condition is required to trigger the stale context entries?

A failure must occur during the PCI DMA-alias walk after device_pasid_table_setup() has succeeded for at least one RID. The alias walk stops at the first callback error, leaving earlier context entries present while the PASID table is freed.

3

What is the consequence of the failed probe path?

The IOMMU can follow a still-present scalable-mode context entry to a PASID table pointer referencing freed memory. This occurs because the PASID table is freed before the already-programmed context entries are torn down.

4

Is cleanup safe if only some DMA alias RIDs were configured?

Yes. The described fix uses device_pasid_table_teardown() before freeing the PASID table, and that teardown safely handles RIDs that were never programmed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203