В ядре Linux устранена следующая уязвимость:
wifi: ath12k: правильная очистка tid при сбое настройки tid
В настоящее время, если во время ath12k_dp_rx_peer_tid_setup() возникает какая-либо ошибка,
значение tid уже увеличено, хотя соответствующее
TID фактически не выделяется. Перейти к
ath12k_dp_rx_peer_tid_delete(), начиная с нераспределенного tid,
что может привести к освобождению нераспределенного TID и вызвать потенциальную
сбой или доступ за пределы границ. Следовательно, исправьте это, правильно уменьшив tid перед очисткой, чтобы оно соответствовало только
успешно выделенные TID.
Также удалите tid-- из случая сбоя ath12k_dp_rx_peer_frag_setup(),
поскольку уменьшение tid перед очисткой в цикле позаботится об этом. Компилировать только проверенные.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Correct tid cleanup when tid setup fails Currently, if any error occurs during ath12k_dp_rx_peer_tid_setup(), the tid value is already incremented, even though the corresponding TID is not actually allocated. Proceed to ath12k_dp_rx_peer_tid_delete() starting from unallocated tid, which might leads to freeing unallocated TID and cause potential crash or out-of-bounds access. Hence, fix by correctly decrementing tid before cleanup to match only the successfully allocated TIDs. Also, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(), as decrementing the tid before cleanup in loop will take care of this. Compile tested only.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.3
|
6.6.103
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.43
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.15.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.16
|
6.16.2
|