🇰🇷 한글 설명
Linux 커널의 ath12k Wi-Fi 드라이버에서 WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT 처리 시 경계 검사가 누락되어 발생합니다. 펌웨어에서 제공하는 num_vdevs 값을 검증 없이 루프 범위로 사용하거나 이벤트 구조체의 최소 길이를 확인하지 않아 메모리 범위를 벗어난 읽기(out-of-bounds read)가 발생할 수 있습니다.
💡 쉬운 설명
Wi-Fi 장치를 제어하는 소프트웨어에서 데이터의 길이를 제대로 확인하지 않아 발생하는 문제입니다. 공격자가 조작된 데이터를 보내면 시스템의 허용된 메모리 범위를 넘어 정보를 읽어낼 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event()
There is no policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT, so
the parse infrastructure does not enforce a minimum length for the event
struct. Additionally, the num_vdevs field is taken directly from firmware
and used as a loop bound over the vdev_ids array without checking that it
fits within the TLV payload. Either condition can cause an out-of-bounds
read.
Add a TLV policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT so
the parse infrastructure enforces a minimum length for the fixed-size event
struct. Add a helper ath12k_wmi_tlv_data_len() to recover the payload
length of a parsed TLV from the header preceding its data pointer. Use it
in ath12k_wmi_process_csa_switch_count_event() to bound num_vdevs before
the loop.
Compile tested only.
📍 영향받는 시스템
Linux kernel (ath12k driver 사용 시스템)
⚔️ 공격 벡터
조작된 WMI 이벤트를 전송하는 악성 펌웨어를 통한 메모리 오버리드 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.