Linux Kernel Surprise Device Removal IOMMU Attachment Vulnerability

Vulnerability

A vulnerability in the Linux kernel's IOMMU handling for PCI devices can lead to improper management of device attachments during surprise removals. When a PCI device is unexpectedly hot-plugged out, attempts to attach it to the default domain as part of the teardown process can fail. This failure occurs because the hypervisor no longer recognizes the device as valid, leading to an error that prevents the attachment. As a result, the device becomes 'fenced' by the hypervisor, blocking DMA operations and rendering IOMMU translations ineffective. The vulnerability arises because the system currently does not handle such removals correctly, causing attachment processes to fail when they should be allowed to proceed.

Impact

The vulnerability causes attachment processes to fail, which can disrupt normal device operations and management within the IOMMU framework. This failure can lead to blocked DMA operations and ineffective IOMMU translations, causing potential performance issues or disruptions in device functionality.

Remediation

The vulnerability has been addressed in the Linux kernel stable tree. Users can upgrade to the latest version available in this repository to apply the fix.

Added: Oct 9, 2025, 10:18 AM
Updated: Oct 9, 2025, 4:10 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
7.7
relevance
0.7
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.