🇰🇷 한글 설명
Linux 커널의 ath12k 드라이버에서 TKIP MIC 검증 중 NWIFI 헤더 길이가 유효하지 않을 경우 메모리 누수가 발생하는 취약점입니다. 헤더 검증 실패 시 MSDU 참조가 해제되지 않아 메모리가 적절히 해제되지 않고 남게 됩니다.
💡 쉬운 설명
와이파이 신호를 처리하는 과정에서 잘못된 데이터가 들어오면 컴퓨터의 메모리가 제대로 비워지지 않고 계속 쌓이는 문제입니다. 이 현상이 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix memory leak in ath12k_wifi7_dp_rx_h_verify_tkip_mic()
In ath12k_wifi7_dp_rx_h_verify_tkip_mic(), the call to
ath12k_dp_rx_check_nwifi_hdr_len_valid() may return false when the
NWIFI header length is invalid, causing the function to abort early with
-EINVAL.
When this happens, the error propagates to
ath12k_wifi7_dp_rx_h_defrag(), which clears first_frag by setting it
to NULL. As a result, the corresponding MSDU is no longer referenced
by the defragmentation path and is never freed.
This leads to a memory leak for the affected MSDU on this error path.
Proper cleanup is required to ensure the MSDU is released when header
validation fails during TKIP MIC verification.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3
📍 영향받는 시스템
Linux kernel (ath12k driver using WCN7850 hw2.0 PCI WLAN)
⚔️ 공격 벡터
조작된 NWIFI 헤더를 포함한 무선 패킷을 전송하여 메모리 누수 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 커널 버전과 ath12k 모듈의 버전을 확인하여 패치 적용 여부를 검토합니다.
uname -r && modinfo ath12k | grep version