В ядре Linux устранена следующая уязвимость:
USB: бесплатные расписания ISO при неудачной отправке
Изохронные EHCI и FOTG210 отправляют сборку ehci_iso_sched раньше
связывая URB с очередью конечной точки, и сохраняя поэтапное расписание в
urb->hcpriv до тех пор, пока iso_stream_schedule() и помощники по ссылкам не воспользуются им. Если контроллер больше недоступен, или usb_hcd_link_urb_to_ep()
не удается, submit переходит к Done_not_linked до того, как произойдет передача обслуживания, и
утечка поэтапного расписания, все еще прикрепленного к urb->hcpriv. Освободите поэтапное расписание от Done_not_linked, если отправка не удалась раньше
URB связан и очищает urb->hcpriv после освобождения.
Ошибка была впервые обнаружена инструментом экспериментального анализа, которым мы являемся.
разработка ошибок управления памятью ядра при анализе
v6.13-rc1. Инструмент все еще находится в стадии разработки и еще не опубликован публично.
доступен. Ручная проверка подтверждает, что ошибка все еще устранена.
присутствует в версии 7.1.1.
Сборка alliesconfig x86_64 не выявила новых предупреждений. Поскольку у нас нет
Хост-контроллер EHCI с изохронным USB-устройством для тестирования, нет
удалось провести тестирование во время выполнения.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: usb: free iso schedules on failed submit EHCI and FOTG210 isochronous submits build an ehci_iso_sched before linking the URB to the endpoint queue, and keep the staged schedule in urb->hcpriv until iso_stream_schedule() and the link helpers consume it. If the controller is no longer accessible, or usb_hcd_link_urb_to_ep() fails, submit jumps to done_not_linked before that handoff happens and leaks the staged schedule still attached to urb->hcpriv. Free the staged schedule from done_not_linked when submit fails before the URB is linked and clear urb->hcpriv after the free. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1.1. An x86_64 allyesconfig build showed no new warnings. As we do not have an EHCI host controller with a USB isochronous device to test with, no runtime testing was able to be performed.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 12
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
2.6.15.1
|
5.10.261
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
6.6.145
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.96
|
|
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
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:2.6.15:-:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:2.6.15:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:2.6.15:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:2.6.15:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:2.6.15:rc7:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*
|
— | — |