iommupt: Fix short gather if the unmap goes into a large mapping
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee6e69d032550687a3422504bfca3f834c7b5061, Kernel 6.19.12 and Kernel 50ecd96a28f712f8b682c0441f4cb9b086d28816.
In the Linux kernel, the following vulnerability has been resolved: iommupt: Fix short gather if the unmap goes into a large mapping unmap has the odd behavior that it can unmap more than requested if the ending point lands within the middle of a large or contiguous IOPTE. In this case the gather should flush everything unmapped which can be larger than what was requested to be unmapped. The gather was only flushing the range requested to be unmapped, not extending to the extra range, resulting in a short invalidation if the caller hits this special condition. This was found by the new invalidation/gather test I am adding in preparation for ARMv8. Claude deduced the root cause. As far as I remember nothing relies on unmapping a large entry, so this is likely not a triggerable bug.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7c53f4238aa8bfb476e177263133ead2eeb8d55d <ee6e69d032550687a3422504bfca3f834c7b5061, =7.0, >=6.19 <6.19.12, =6.19, >=7c53f4238aa8bfb476e177263133ead2eeb8d55d <50ecd96a28f712f8b682c0441f4cb9b086d28816 | ee6e69d032550687a3422504bfca3f834c7b5061, 6.19.12, 50ecd96a28f712f8b682c0441f4cb9b086d28816 |
| linux-kernel: Kernel | >=6.19.0 <6.19.12 | 6.19.12 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket