← Back to search

CVE-2026-90241

8.2 HIGH

Published 2026-09-17 · Updated 2026-09-18

AI risk analysis

Summary
This vulnerability in the Linux kernel's IOMMU (Intel Virtualization Technology for Directed I/O) allows a malicious user to leave context entries for already processed RIDs present and pointing to a freed PASID table, potentially leading to a use-after-free condition.
Exploitability
Exploitation requires a device with a dma_alias_mask and a failure during the PCI device’s DMA alias setup, making it moderately difficult to exploit.
Blast radius
If exploited, this could lead to unauthorized access to freed memory, potentially allowing for privilege escalation or data corruption.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to the latest version of the Linux kernel that includes this fix, such as 'Upgrade to 5.19.0 or later'.
kerneliommuuse-after-freeprivilege-escalation

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.