In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix incorrect pciforeachdmaalias() for non-PCI devices
Previously, the domaincontextclear() function incorrectly called pciforeachdmaalias() to set up context entries for non-PCI devices. This could lead to kernel hangs or other unexpected behavior.
Add a check to only call pciforeachdmaalias() for PCI devices. For non-PCI devices, domaincontextclear_one() is called directly.