В ядре Linux устранена следующая уязвимость: wifi: mt76: mt7996: bound TLV walk in mt7996_mcu_get_chip_config The response TLV loop advanced by tlv->len un a minimum, поэтому теоретический ответ прошивки, содержащий нулевую длину TLV может вращаться вечно, подвешивая CPU во время зонда устройства. Полезная нагрузка U32 также была прочитана без проверки границ. Отклоните короткое фиксированное поле, остановитесь на TLV, длина которого закрывает заголовок или перекрывает skb.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: bound TLV walk in mt7996_mcu_get_chip_config The response TLV loop advanced by tlv->len without a minimum, so a theoretical firmware response containing a zero-length TLV could spin forever, hanging the CPU during device probe. The u32 payload was also read without bounds checking. Reject a short fixed field, stop on a TLV whose length underruns the header or overruns the skb.