В ядре Linux устранена следующая уязвимость:
iommufd: разрыв цикла в случае сбоя в iommufd_fault_fops_read(). При сбое copy_to_user() внутри внутреннего list_for_each_entry только
внутренний цикл разрывается; внешний while повторно извлекает только что восстановленную группу ошибок
и навсегда повторяет неудачную попытку copy_to_user(), вращая считыватель на 100 %. Процессор с ошибкой->мьютексом удерживается.
Проверьте rc после внутреннего цикла и также прервите внешний while.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.11
|
6.12.101
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.39
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.1.4
|