🇰🇷 한글 설명
Linux 커널의 ath12k Wi-Fi 드라이버에서 발생한 취약점으로, WMI 이벤트로부터 추출된 phy_id 값이 예상치 못한 값일 경우 경계 외 쓰기(out-of-bound write)가 발생할 수 있습니다. 이 문제는 코드 리뷰를 통해 발견되었으며, phy_id를 사용하기 전에 유효성을 검사함으로써 해결되었습니다.
💡 쉬운 설명
Wi-Fi 장치를 제어하는 소프트웨어에서 잘못된 신호를 받았을 때, 허용되지 않은 메모리 영역에 데이터를 쓰는 오류가 발생할 수 있습니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()
reg_cap.phy_id is extracted from WMI event and could be an unexpected value
in case some errors happen. As a result out-of-bound write may occur to
soc->hal_reg_cap. Fix it by validating reg_cap.phy_id before using it.
This is found during code review.
Compile tested only.
📍 영향받는 시스템
ath12k 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
조작된 WMI(Wireless Management Interface) 이벤트를 전송하여 메모리 경계 외 쓰기 유도
🛡️ 대응 방법
ath12k 드라이버의 phy_id 유효성 검사 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 패치 버전 이후인지 확인