🇰🇷 한글 설명
Linux 커널의 ath12k Wi-Fi 드라이버에서 메모리 해제 후 접근(Use-After-Free) 취약점이 발견되었습니다. ath12k_dp_rx_msdu_coalesce 함수에서 skb 메모리를 해제한 이후, 이미 해제된 메모리 영역에 있는 is_continuation 값을 다시 참조하여 발생합니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버린 메모리 주소를 다시 읽으려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix invalid access to memory
In ath12k_dp_rx_msdu_coalesce(), rxcb is fetched from skb and boolean
is_continuation is part of rxcb.
Currently, after freeing the skb, the rxcb->is_continuation accessed
again which is wrong since the memory is already freed.
This might lead use-after-free error.
Hence, fix by locally defining bool is_continuation from rxcb,
so that after freeing skb, is_continuation can be used.
Compile tested only.
📍 영향받는 시스템
ath12k 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
특수하게 조작된 Wi-Fi 패킷을 전송하여 메모리 오류 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인