🇰🇷 한글 설명
Linux 커널의 mac80211 스택에서 모니터 모드 인터페이스가 전송 큐(TXQ)를 갖지 않은 상태에서 활성화될 때 발생하는 NULL 포인터 역참조 취약점입니다. ath9k 드라이버가 큐가 없는 인터페이스를 처리하는 과정에서 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
무선 랜카드를 특정 모드로 설정할 때, 내부적으로 필요한 통로가 만들어지지 않은 상태에서 작동을 시도하여 시스템이 멈추거나 오류가 발생하는 문제입니다. 관리자 권한을 가진 사용자가 잘못된 설정 명령을 내릴 때 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: refuse to make a monitor active when it has no queue
A monitor interface only gets a TXQ if it's created active, and one can't
be added later. Setting the flag on a down interface is still allowed, so
the driver is handed a monitor with no queue. ath9k dereferences it:
BUG: kernel NULL pointer dereference, address: 0000000000000066
RIP: 0010:ath_tx_node_init+0x49/0x170 [ath9k]
ath9k_add_interface+0x10c/0x140 [ath9k]
drv_add_interface+0x54/0x250 [mac80211]
ieee80211_do_open+0x32f/0x800 [mac80211]
Reached with CAP_NET_ADMIN by "iw dev X set monitor active" followed by
"ip link set X up". RTNL is held, so netlink operations block behind it.
Refuse the flag when there is no queue to give.
📍 영향받는 시스템
Linux kernel (ath9k 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
CAP_NET_ADMIN 권한을 가진 사용자가 특정 명령(iw, ip link)을 통해 모니터 모드 인터페이스를 비정상적으로 활성화
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.