В ядре Linux устранена следующая уязвимость:
io_uring/futex: убедитесь, что io_futex_wait() правильно очищается в случае сбоя.
io_futex_data выделяется заранее и назначается io_kiocb.
поле async_data, но запрос не помечен REQ_F_ASYNC_DATA
в тот момент. Эти двое всегда должны идти вместе, как говорит флаг.
io_uring, является ли поле действительным или нет. Кроме того, при устранении сбоя обработчик фьютекса освобождает данные, но
не очищает ->async_data.
Очистите данные и флаг в ошибке
путь тоже. Спасибо Trend Micro Zero Day Initiative и особенно ReDress за
сообщая об этом.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: io_uring/futex: ensure io_futex_wait() cleans up properly on failure The io_futex_data is allocated upfront and assigned to the io_kiocb async_data field, but the request isn't marked with REQ_F_ASYNC_DATA at that point. Those two should always go together, as the flag tells io_uring whether the field is valid or not. Additionally, on failure cleanup, the futex handler frees the data but does not clear ->async_data. Clear the data and the flag in the error path as well. Thanks to Trend Micro Zero Day Initiative and particularly ReDress for reporting this.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.44
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.16.4
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
|
— | — |