В ядре Linux устранена следующая уязвимость:
Octeon_ep: отменить поставленные в очередь работы в пути ошибки зонда
Если не удается получить MAC-адрес устройства, Octep_probe завершает работу, пока
оставляя отложенную работу intr_poll_task в очереди. Когда работа позже
работает, это использование после бесплатного. Перенесите отмену intr_poll_task из Octep_remove в
October_device_cleanup.
Это ничего не меняет в файле Octep_remove.
поток, но Octep_device_cleanup вызывается также при ошибке Octep_probe
путь, где требуется отмена. Обратите внимание, что за этим должна последовать отмена ctrl_mbox_task.
intr_poll_task, поскольку ctrl_mbox_task может быть поставлен в очередь
intr_poll_task.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: octeon_ep: cancel queued works in probe error path If it fails to get the devices's MAC address, octep_probe exits while leaving the delayed work intr_poll_task queued. When the work later runs, it's a use after free. Move the cancelation of intr_poll_task from octep_remove into octep_device_cleanup. This does not change anything in the octep_remove flow, but octep_device_cleanup is called also in the octep_probe error path, where the cancelation is needed. Note that the cancelation of ctrl_mbox_task has to follow intr_poll_task's, because the ctrl_mbox_task may be queued by intr_poll_task.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.4
|
6.4.12
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc6:*:*:*:*:*:*
|
— | — |