В ядре Linux устранена следующая уязвимость:
pds_core: сделать wait_context частью q_info
Лучше сделайте wait_context полной частью структуры q_info.
чем переменная стека, которая исчезает после pdsc_adminq_post()
сделано для того, чтобы контекст все еще был доступен после ожидания
шлейф сдался. Был случай, когда медленная разработка прошивки вызвала
запрос администратора на тайм-аут, но затем, наконец, прошивка
завершил запрос и отправил прерывание. Обработчик попробовал
для Complete_all() контекст завершения, который был создан
в стеке в pdsc_adminq_post(), но больше не существует.
Это вызывало неправильное использование указателей, сбои ядра и много жалоб. и скрежет зубов.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: pds_core: make wait_context part of q_info Make the wait_context a full part of the q_info struct rather than a stack variable that goes away after pdsc_adminq_post() is done so that the context is still available after the wait loop has given up. There was a case where a slow development firmware caused the adminq request to time out, but then later the FW finally finished the request and sent the interrupt. The handler tried to complete_all() the completion context that had been created on the stack in pdsc_adminq_post() but no longer existed. This caused bad pointer usage, kernel crashes, and much wailing and gnashing of teeth.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.4
|
6.6.89
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.26
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.14.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
|
— | — |