iommufd: Break the loop on failure in iommufd_fault_fops_read()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.101, Kernel 6.18.39, Kernel 7.1.4 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: iommufd: Break the loop on failure in iommufd_fault_fops_read() On a copy_to_user() failure inside the inner list_for_each_entry, only the inner loop breaks; the outer while re-fetches the just-restored fault group and retries the failing copy_to_user() forever, spinning the reader at 100% CPU with fault->mutex held. Check rc after the inner loop and break the outer while as well.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.11 <6.12.101, >=6.13 <6.18.39, >=6.19 <7.1.4, >=07838f7fd529c8a6de44b601d4b7057e6c8d36ed <5539da127d03c1f6c2e2a49fdfbe331a0ccbdea8, >=07838f7fd529c8a6de44b601d4b7057e6c8d36ed <a38e0714affc5c0bbb40cba5a65d6d32a5e72a71, >=07838f7fd529c8a6de44b601d4b7057e6c8d36ed <f66c16b175509642ee7082df57c9bf3deaebae1a, =6.11, >=07838f7fd529c8a6de44b601d4b7057e6c8d36ed <172fc8b19825a0f5884c38f2289188284e2d45ee | 6.12.101, 6.18.39, 7.1.4, 5539da127d03c1f6c2e2a49fdfbe331a0ccbdea8, a38e0714affc5c0bbb40cba5a65d6d32a5e72a71, f66c16b175509642ee7082df57c9bf3deaebae1a, 172fc8b19825a0f5884c38f2289188284e2d45ee |
| linux-kernel: Kernel | >=6.11.0 <6.12.101, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4 | 6.12.101, 6.18.39, 7.1.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket