🇰🇷 한글 설명
Linux 커널의 nl80211 모듈에서 모니터 인터페이스에 MONITOR_FLAG_COOK_FRAMES와 MONITOR_FLAG_ACTIVE 플래그를 동시에 설정할 수 있어, 서브 인터페이스가 드라이버 상태 비트 없이 생성되고 삭제 시 커널 경고(WARN_ONCE)가 발생합니다. 수정 방법은 cooked 모드가 다른 플래그와 함께 설정되면 요청을 거부하는 것입니다.
💡 쉬운 설명
사용자 공간 프로그램이 무선 랜카드의 모니터 모드 설정을 잘못된 조합으로 요청하면 리눅스 커널 내부에 비정상 상태가 만들어집니다. 이로 인해 커널 경고가 발생하며, 이 결함은 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: nl80211: reject cooked mode if it is set along with other flags
It is possible to set both MONITOR_FLAG_COOK_FRAMES and MONITOR_FLAG_ACTIVE
flags simultaneously on the same monitor interface from the userspace. This
causes a sub-interface to be created with no IEEE80211_SDATA_IN_DRIVER bit
set because the monitor interface is in the cooked state and it takes
precedence over all other states. When the interface is then being deleted
the kernel calls WARN_ONCE() from check_sdata_in_driver() because of missing
that bit.
Fix this by rejecting MONITOR_FLAG_COOK_FRAMES if it is set along with
other flags.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
📍 영향받는 시스템
수정 전 Linux 커널 (nl80211 무선 설정 기능을 사용하는 시스템)
⚔️ 공격 벡터
로컬 사용자가 무선 인터페이스에 모순된 모니터 플래그를 동시에 설정한 뒤 인터페이스를 삭제하여 커널 경고를 유발
🛡️ 대응 방법
배포판 제공 최신 Linux 커널 보안 업데이트를 적용하고 재부팅
🔧 검증 코드
출력된 커널 버전이 배포판의 수정 패치가 포함된 버전인지 배포판 보안 공지와 대조하여 확인 (업데이트 여부는 패키지 관리자 changelog로도 확인 가능)