В ядре Linux устранена следующая уязвимость:
nfc: hci: shdlc: останавливать таймеры и работать перед освобождением контекста.
llc_shdlc_deinit() очищает очереди skb SHDLC и освобождает llc_shdlc
структуру, в то время как ее таймеры и работа конечного автомата все еще могут быть активны. Обратные вызовы таймера могут планировать sm_work, а sm_work получает доступ к состоянию SHDLC.
и очереди скб. Если демонтаж происходит параллельно с находящимся в очереди/работающим
рабочий элемент, это может привести к UAF и другим гонкам с отключением.
Остановите все таймеры SHDLC и синхронно отмените sm_work перед очисткой
очереди и освобождение контекста. Найдено Центром проверки Linux (linuxtesting.org) с помощью SVACE.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nfc: hci: shdlc: Stop timers and work before freeing context llc_shdlc_deinit() purges SHDLC skb queues and frees the llc_shdlc structure while its timers and state machine work may still be active. Timer callbacks can schedule sm_work, and sm_work accesses SHDLC state and the skb queues. If teardown happens in parallel with a queued/running work item, it can lead to UAF and other shutdown races. Stop all SHDLC timers and cancel sm_work synchronously before purging the queues and freeing the context. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
3.7
|
5.15.202
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
6.1.165
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.128
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.14
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.4
|