🇰🇷 한글 설명
Linux 커널의 ath12k 드라이버에서 모니터 모드 사용 시 peer_id가 올바르게 업데이트되지 않아 발생하는 취약점입니다. 이로 인해 peer 정보가 NULL로 처리되어 mac80211에서 잘못된 link_id를 가진 데이터 프레임을 수신할 경우 WARN_ON 경고가 발생할 수 있습니다.
💡 쉬운 설명
와이파이 드라이버가 데이터를 받을 때 연결된 기기를 제대로 식별하지 못하는 오류가 있었습니다. 이 오류로 인해 시스템에 경고 메시지가 발생하거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
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
📍 영향받는 시스템
Linux kernel (ath12k driver used in QCN9274 hw2.0 based systems)
⚔️ 공격 벡터
모니터 모드에서 잘못된 링크 정보를 포함한 데이터 프레임을 전송하여 시스템 경고 유도
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 ath12k 드라이버의 peer_id 참조 로직 수정
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.