🇰🇷 한글 설명
리눅스 커널의 mac80211 WiFi 드라이버에서 chanctx 코드의 Use-After-Free 취약점이 발견되었습니다. 특정 조건에서 기존 컨텍스트가 해제된 후에도 해당 메모리에 접근을 시도할 수 있는 결함이 수정되었습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix use-after-free in chanctx code
In ieee80211_vif_use_reserved_context(), when we have an
old context and the new context's replace_state is set to
IEEE80211_CHANCTX_REPLACE_NONE, we free the old context
in ieee80211_vif_use_reserved_reassign(). Therefore, we
cannot check the old_ctx anymore, so we should set it to
NULL after this point.
However, since the new_ctx replace state is clearly not
IEEE80211_CHANCTX_REPLACES_OTHER, we're not going to do
anything else in this function and can just return to
avoid accessing the freed old_ctx.
📍 영향받는 시스템
Linux kernel (mac80211 subsystem)
⚔️ 공격 벡터
특수하게 조작된 WiFi 프레임을 전송하여 커널 메모리 오류 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인