Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 07838f7fd529c8a6de44b601d4b7057e6c8d36ed before a38e0714affc5c0bbb40cba5a65d6d32a5e72a71; affected 07838f7fd529c8a6de44b601d4b7057e6c8d36ed before 5539da127d03c1f6c2e2a49fdfbe331a0ccbdea8; affected 07838f7fd529c8a6de44b601d4b7057e6c8d36ed before f66c16b175509642ee7082df57c9bf3deaebae1a; affected 07838f7fd529c8a6de44b601d4b7057e6c8d36ed before 172fc8b19825a0f5884c38f2289188284e2d45ee |
| Linux / Linux | affected 6.11; unaffected 0 before 6.11; unaffected 6.12.101 through 6.12.*; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.