🇰🇷 한글 설명
Linux 커널의 ath12k Wi-Fi 드라이버에서 TID(Transaction Identifier) 설정 실패 시 TID 값이 올바르게 정리되지 않는 취약점이 발견되었습니다. 할당되지 않은 TID를 해제하려고 시도함으로써 시스템 충돌이나 경계 외 메모리 접근(out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
Wi-Fi 연결 설정 중 오류가 발생했을 때, 컴퓨터가 사용하지 않는 번호를 실수로 지우려고 시도하는 문제입니다. 이 과정에서 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Correct tid cleanup when tid setup fails
Currently, if any error occurs during ath12k_dp_rx_peer_tid_setup(),
the tid value is already incremented, even though the corresponding
TID is not actually allocated. Proceed to
ath12k_dp_rx_peer_tid_delete() starting from unallocated tid,
which might leads to freeing unallocated TID and cause potential
crash or out-of-bounds access.
Hence, fix by correctly decrementing tid before cleanup to match only
the successfully allocated TIDs.
Also, remove tid-- from failure case of ath12k_dp_rx_peer_frag_setup(),
as decrementing the tid before cleanup in loop will take care of this.
Compile tested only.
📍 영향받는 시스템
Linux kernel (ath12k Wi-Fi driver 포함 버전)
⚔️ 공격 벡터
특수하게 조작된 Wi-Fi 패킷을 전송하여 드라이버의 TID 설정 로직에서 오류를 유도함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.