🇰🇷 한글 설명
Linux 커널의 mac80211 드라이버에서 RX BA 세션 해제 시 세션 타이머가 해제된 메모리를 참조하는 취약점이 발견되었습니다. 세션 해제 과정에서 타이머가 적절히 종료되지 않아, 이후 타이머 콜백이 이미 해제된 메모리 영역에 접근하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
무선 랜 카드가 통신 세션을 종료할 때, 종료된 데이터 통로를 가리키는 타이머가 남아 있어 컴퓨터가 잘못된 메모리 주소를 건드리는 문제입니다. 이로 인해 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: shut down RX BA session timer on teardown
Tearing down an RX BA session can leave the session timer queued on a
freed tid_rx. Later timer-wheel processing and the timer callback itself
then run against freed memory.
An RX BAR handler can dereference tid_rx under RCU before teardown
unpublishes it and stay in its read-side critical section while teardown
deletes the session timer. The stale handler can then rearm the timer
after timer_delete_sync() returns and before the RCU callback frees
tid_rx.
Use timer_shutdown_sync() so rearm attempts become ineffective once
teardown starts. Keep reorder_timer unchanged: teardown marks the session
removed under reorder_lock and its release path checks that state before
rearming. session_timer has no equivalent guard because
ieee80211_rx_h_ctrl() rearms it before taking reorder_lock.
📍 영향받는 시스템
Linux kernel (mac80211 driver components)
⚔️ 공격 벡터
특정 무선 네트워크 환경에서 RX BA 세션을 의도적으로 해제하여 메모리 오류를 유도하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 timer_shutdown_sync()가 적용된 패치를 반영해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.