🇰🇷 한글 설명
Linux 커널의 ath11k 드라이버에서 scan_req_params 구조체의 용량보다 더 많은 SSID를 처리할 때 버퍼 오버플로우가 발생합니다. 이 취약점은 userspace의 wpa_supplicant를 통해 트리거될 수 있으며, extraie 포인터를 덮어쓸 수 있는 위험이 있습니다.
💡 쉬운 설명
와이파이를 검색할 때 처리할 수 있는 목록의 크기보다 더 많은 정보를 보내면 시스템 메모리가 넘쳐흐르는 문제입니다. 이를 통해 해커가 시스템의 중요한 정보를 조작하거나 제어권을 얻을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ath11k: Change max no of active probe SSID and BSSID to fw capability
The maximum number of SSIDs in a for active probe requests is currently
reported as 16 (WLAN_SCAN_PARAMS_MAX_SSID) when registering the driver.
The scan_req_params structure only has the capacity to hold 10 SSIDs.
This leads to a buffer overflow which can be triggered from
wpa_supplicant in userspace. When copying the SSIDs into the
scan_req_params structure in the ath11k_mac_op_hw_scan route, it can
overwrite the extraie pointer.
Firmware supports 16 ssid * 4 bssid, for each ssid 4 bssid combo probe
request will be sent, so totally 64 probe requests supported. So
set both max ssid and bssid to 16 and 4 respectively. Remove the
redundant macros of ssid and bssid.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01300-QCAHKSWPL_SILICONZ-1
📍 영향받는 시스템
ath11k 드라이버를 사용하는 Linux 커널 기반 시스템 (IPQ8074 등)
⚔️ 공격 벡터
사용자 공간의 wpa_supplicant를 통해 조작된 SSID/BSSID 스캔 요청을 전송
🛡️ 대응 방법
ath11k 드라이버의 SSID/BSSID 최대 개수 제한을 수정하여 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인