🇰🇷 한글 설명
Linux 커널의 rtl8192du Wi-Fi 드라이버에서 QoS TID 값을 검증하지 않고 배열 인덱스로 사용하는 취약점이 발견되었습니다. 이로 인해 할당된 배열 범위를 벗어난 메모리에 접근하는 인덱스 범위 초과(Out-of-bounds) 문제가 발생할 수 있습니다.
💡 쉬운 설명
Wi-Fi 신호를 처리할 때 특정 번호를 확인하는 과정에서, 정해진 칸보다 더 큰 번호를 참조하여 시스템 메모리를 잘못 건드리는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtlwifi: rtl8192du: check QoS TID before indexing tids
rtl92du_tx_fill_desc() uses ieee80211_get_tid() to read the QoS TID
from the 802.11 header and then uses it as an index into
sta_entry->tids[]. ieee80211_get_tid() returns the low 4-bit QoS TID
value, so the result can be in the range 0..15.
rtlwifi only allocates MAX_TID_COUNT entries for sta_entry->tids[], and
MAX_TID_COUNT is 9. A QoS TID greater than 8 therefore indexes past the
aggregation state array. Keep the default RTL_AGG_STOP state for
out-of-range TIDs, matching rtl92cu_tx_fill_desc().
This issue was detected by our static analysis tool and confirmed by
manual audit. UBSAN validation for the same bug pattern reports an
array-index-out-of-bounds access with index 10 for type
'rtl_tid_data [9]'.
📍 영향받는 시스템
Linux kernel (rtl8192du driver 포함 버전)
⚔️ 공격 벡터
조작된 802.11 헤더를 포함한 무선 패킷을 전송하여 메모리 인덱스 범위를 초과하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 QoS TID 범위 검증 로직을 적용해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인