В ядре Linux устранена следующая уязвимость:
rtase: исправлено двойное освобождение от multi-frag skb при сбое карты DMA. В rtase_start_xmit(), когда сопоставление DMA головного буфера завершается сбоем после
rtase_xmit_frags() отобразил все фрагменты, путь ошибки очищается
дескрипторы фрагментов с помощью rtase_tx_clear_range(), который освобождает
skb через слот последнего фрагмента и учетные записи tx_dropped. Контроль
затем попадает на общую метку ошибки, которая освобождает ту же самую
скб второй раз и снова считает.
Возврат сразу после очистки фрагментов, когда скб владеет фрагами; корпус без осколков все равно выпадает и один раз освобождает головной скб.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: rtase: fix double free of multi-frag skb on DMA map failure In rtase_start_xmit(), when the head buffer DMA mapping fails after rtase_xmit_frags() has mapped all fragments, the error path clears the fragment descriptors with rtase_tx_clear_range(), which frees the skb through the last-frag slot and accounts tx_dropped. Control then falls through to the common error label, which frees the same skb a second time and counts it again. Return right after clearing the fragments when the skb owns frags; the no-frag case still drops through and frees the head skb once.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
6.12.103
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
6.18.44
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
7.1.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
7.2
|