🇰🇷 한글 설명
Linux 커널의 rtw89 Wi-Fi 드라이버에서 RX 디스크립터의 mac_id 필드에 대한 경계 검사가 누락된 취약점입니다. firmware에서 제공하는 mac_id 값이 배열 크기인 128을 초과할 경우, 검증 없이 배열 인덱스로 사용되어 메모리 손상을 일으킬 수 있습니다.
💡 쉬운 설명
Wi-Fi 장치가 외부로부터 받은 잘못된 식별 번호를 확인 절차 없이 컴퓨터 메모리의 엉뚱한 위치에 기록하려고 시도하는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw89: add bounds check on firmware mac_id in link lookup
The mac_id field in RX descriptors is 8 bits wide (0-255), but
assoc_link_on_macid[] has only RTW89_MAX_MAC_ID_NUM (128) entries.
While the driver currently assigns mac_id values below 128, the
descriptor value comes from firmware and is not validated before use
as an array index. Add a defensive bounds check in
rtw89_assoc_link_rcu_dereference() to guard against out-of-range
firmware values.
📍 영향받는 시스템
rtw89 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
조작된 firmware를 통해 범위를 벗어난 mac_id 값을 전달하여 메모리 오염 유도
🛡️ 대응 방법
rtw89_assoc_link_rcu_dereference() 함수에 경계 검사 로직이 포함된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인