В ядре Linux устранена следующая уязвимость:
wifi: ath12k: исправлен поиск одноранговых узлов в ath12k_dp_mon_rx_deliver_msdu(). В ath12k_dp_mon_rx_deliver_msdu() поиск однорангового узла завершается неудачей, поскольку
rxcb->peer_id не обновляется с допустимым значением. Это ожидается
в режиме монитора, где кадры RX обходят обычный RX
путь дескриптора, который обычно устанавливает rxcb->peer_id.
В результате одноранговый узел имеет значение NULL, а поля link_id и link_valid
в статусе RX не заполняются. Это приводит к WARN_ON в
mac80211, когда он получает кадр данных от связанной станции
с неверным link_id. Исправьте эту потенциальную проблему, используя ppduinfo->peer_id, который содержит
правильный идентификатор узла для полученного кадра.
Это гарантирует, что
одноранговый узел правильно найден, и метаданные связанного канала обновлены.
соответственно. Протестировано: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu() In ath12k_dp_mon_rx_deliver_msdu(), peer lookup fails because rxcb->peer_id is not updated with a valid value. This is expected in monitor mode, where RX frames bypass the regular RX descriptor path that typically sets rxcb->peer_id. As a result, the peer is NULL, and link_id and link_valid fields in the RX status are not populated. This leads to a WARN_ON in mac80211 when it receives data frame from an associated station with invalid link_id. Fix this potential issue by using ppduinfo->peer_id, which holds the correct peer id for the received frame. This ensures that the peer is correctly found and the associated link metadata is updated accordingly. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1