CVE-2026-80894
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
04/09/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace<br />
<br />
iommufd_hwpt_replace_device() calls:<br />
<br />
iommufd_auto_response_faults(hwpt, old_handle);<br />
<br />
passing the *new* hwpt together with the handle of<br />
the device&#39;s *old* domain. This should be a parameter mismatch:<br />
<br />
1. Semantically, iommufd_auto_response_faults(x, handle) scans<br />
x->fault&#39;s deliver list and response xarray for groups matching<br />
"handle". A group is queued under the hwpt that was attached at<br />
fault-delivery time. old_handle is fetched *before* the domain switch,<br />
so its group lives on old->fault, not on the new hwpt->fault.<br />
<br />
2. Historically, the first argument was "old". The routine was<br />
introduced by commit b7d8833677ba ("iommufd: Fault-capable hwpt<br />
attach/detach/replace") as __fault_domain_replace_dev() in<br />
fault.c, correctly calling iommufd_auto_response_faults(old, curr).<br />
Commit fb21b1568ada ("iommufd: Make attach_handle generic than<br />
fault specific") moved this into iommufd_hwpt_replace_device() in<br />
device.c and swapped it to "hwpt". This should be a refactor regression,<br />
not an intentional change.<br />
<br />
Fix this by passing "old" instead.


