В ядре Linux устранена следующая уязвимость:
RDMA/hfi1: исправлена ошибка использования после освобождения для структуры mm. При определенных условиях, например MPI_Abort, код очистки hfi1 может
представляют собой последнюю ссылку на задачу мм.
hfi1_mmu_rb_unregister() затем удаляет последнюю ссылку и мм освобождается.
перед окончательным использованием в hfi1_release_user_pages(). Новая задача может
выделить структуру mm, пока она еще используется, в результате чего
проблемы.
Одним из проявлений является повреждение счетчика mmap_sem, ведущего
к зависанию down_write(). Другой — повреждение структуры mm, которая
используется другой задачей.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Fix use-after-free bug for mm struct Under certain conditions, such as MPI_Abort, the hfi1 cleanup code may represent the last reference held on the task mm. hfi1_mmu_rb_unregister() then drops the last reference and the mm is freed before the final use in hfi1_release_user_pages(). A new task may allocate the mm structure while it is still being used, resulting in problems. One manifestation is corruption of the mmap_sem counter leading to a hang in down_write(). Another is corruption of an mm struct that is in use by another task.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.9.12
|
5.10.111
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.34
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.16.20
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.17
|
5.17.3
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*
|
— | — |