🇰🇷 한글 설명
Linux 커널의 cfg80211 구성 요소에서 인터페이스가 비활성화될 때 스캔 요청 처리 과정 중 Use-After-Free(UAF) 취약점이 발생합니다. 드라이버가 스캔 요청의 소유권을 유지하고 있다고 판단하여 이미 해제된 메모리에 접근할 수 있는 문제입니다.
💡 쉬운 설명
와이파이 검색 중에 연결이 끊기면 컴퓨터가 이미 삭제된 정보를 다시 사용하려고 시도하여 오류가 발생할 수 있습니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: don't free driver-owned scan requests
When an interface goes down while a scan is running, cfg80211 completes
the scan towards userspace and frees the scan request. However, the
driver can be convinced that it owns the request, since the cancellation
is (intended to be) asynchronous.
The WARN_ON() in the netdev notifier was meant to catch this, but it's
not actually avoidable, so it triggers and we get a UAF in scan_done().
There doesn't seem to be a great way around it, so just track that the
driver is still convinced it owns the request, and then just free it on
completion if it was already cancelled. Also remove the warnings since
they can trigger in the intended architecture.
📍 영향받는 시스템
Linux Kernel (cfg80211 구성 요소 포함 버전)
⚔️ 공격 벡터
특정 네트워크 인터페이스 상태 변화를 유도하여 메모리 오류를 일으키는 로컬 또는 원격 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.