В ядре Linux устранена следующая уязвимость: wifi: libertas: reject short monitor TX frames В режиме монитора lbs_hard_start_xmit() отбрасывает skb->data в заголовок radiotap TX, пропускает этот заголовок, а затем копирует адрес назначения 802.11 со смещения 4 в оставшемся кадре. Общие проверки длины только отклоняет нулевой длины и негабаритных skbs, так что короткий кадр монитора может быть прочитан после конца данных skb. Требуется достаточное количество байтов для заголовка radiotap TX и поля адреса назначения перед использованием макета заголовка в режиме монитора.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: reject short monitor TX frames In monitor mode, lbs_hard_start_xmit() casts skb->data to a radiotap TX header, skips that header, and then copies the 802.11 destination address from offset 4 in the remaining frame. The generic length check only rejects zero-length and oversized skbs, so a short monitor frame can be read past the end of the skb data. Require enough bytes for the radiotap TX header and the destination address field before using the monitor-mode header layout.