🇰🇷 한글 설명
리눅스 커널의 mac80211 드라이버에서 ieee80211_scan_rx() 함수 실행 중 Use-After-Free(UAF) 취약점이 발견되었습니다. 스캔이 완료되어 scan_req 구조체가 해제된 후에도 해당 메모리에 접근을 시도하여 발생하는 문제입니다.
💡 쉬운 설명
무선 랜 스캔 과정에서 이미 삭제된 메모리 정보를 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 해커가 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: Fix UAF in ieee80211_scan_rx()
ieee80211_scan_rx() tries to access scan_req->flags after a
null check, but a UAF is observed when the scan is completed
and __ieee80211_scan_completed() executes, which then calls
cfg80211_scan_done() leading to the freeing of scan_req.
Since scan_req is rcu_dereference()'d, prevent the racing in
__ieee80211_scan_completed() by ensuring that from mac80211's
POV it is no longer accessed from an RCU read critical section
before we call cfg80211_scan_done().
📍 영향받는 시스템
Linux kernel (mac80211 driver components)
⚔️ 공격 벡터
조작된 무선 네트워크 스캔 패킷을 전송하여 메모리 레이스 컨디션 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인