🇰🇷 한글 설명
Linux 커널의 cfg80211 구성 요소에서 P2P 및 NAN 인터페이스 해제 시 PMSR(Power Management Service Request) 요청을 적절히 중단하지 않는 취약점이 발견되었습니다. 이로 인해 드라이버가 인터페이스를 제거한 후에도 유효하지 않은 요청 상태를 유지하게 되어 드라이버 상태 불일치가 발생할 수 있습니다.
💡 쉬운 설명
무선 인터넷 연결을 끊는 과정에서 처리 중이던 작업이 제대로 정리되지 않아 시스템 내부 데이터가 꼬이는 문제입니다. 이로 인해 무선 랜 드라이버가 잘못된 정보를 참조하여 오작동할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: stop PMSR before P2P and NAN teardown
PMSR request teardown must abort active measurements while the
wireless_dev is still present in the driver. cfg80211_leave_locked() and
cfg80211_stop_pd() already do this before invoking the driver's stop
callback, but cfg80211_stop_p2p_device() and cfg80211_stop_nan() do not.
Those helpers are also called directly by nl80211, rfkill shutdown, and
wireless_dev unregister paths. If one of these paths stops a P2P device
or NAN interface with a pending request, it removes the mac80211
subinterface from the driver first. Subsequent request cleanup cannot
reach the lower driver's abort callback, but cfg80211 frees the request
regardless. Driver state can then retain a stale request and use it when
it later reports a result.
Call cfg80211_pmsr_wdev_down() before stopping the P2P device or NAN
interface. This keeps lower-driver request state and cfg80211 request
ownership in sync for all of the helpers' callers.
📍 영향받는 시스템
Linux kernel (cfg80211/mac80211 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 무선 네트워크 인터페이스(P2P/NAN)의 생성 및 해제 과정을 반복하여 드라이버의 상태 불일치를 유도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 cfg80211_pmsr_wdev_down() 호출 로직을 적용해야 함
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인하십시오.