🇰🇷 한글 설명
리눅스 커널의 cfg80211_wext_siwgenie() 함수에서 IE(Information Element) 버퍼에 대한 검증이 누락되어 발생하는 취약점입니다. 악의적으로 조작된 IE 버퍼가 저장될 경우, 이후 연결 시도 과정에서 경계 외 읽기(Out-of-bounds read) 및 정수 언더플로우(Integer underflow)가 발생하여 시스템 패닉을 유발할 수 있습니다.
💡 쉬운 설명
와이파이 설정 과정에서 잘못된 데이터를 입력하면 컴퓨터의 메모리 영역을 벗어나 읽거나 계산 오류를 일으켜 시스템이 멈출 수 있는 문제입니다. 공격자가 특수하게 만든 데이터를 보내 시스템을 강제로 종료시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: cfg80211: validate IEs in cfg80211_wext_siwgenie()
The KASAN allocation trace shows that a malformed IE buffer is
stored via SIOCSIWGENIE (cfg80211_wext_siwgenie()) without any
validation. The crash trace shows that a subsequent SIOCSIWESSID
triggers a connection attempt which calls cfg80211_sme_get_conn_ies()
to process the stored IE buffer, causing:
- An out-of-bounds read in skip_ie() which reads ies[pos+1]
(the length byte) past the end of the 1-byte buffer.
- An integer underflow in the memcpy size argument when offs
returned by ieee80211_ie_split() exceeds ies_len, causing
unsigned subtraction to wrap to SIZE_MAX and triggering a
fortify panic.
Fix this by validating the IE buffer in cfg80211_wext_siwgenie()
before storing it.
[drop unnecessary ie_len check, update commit message]
📍 영향받는 시스템
Linux kernel (cfg80211/wext 관련 모듈 사용 시스템)
⚔️ 공격 벡터
SIOCSIWGENIE ioctl 호출을 통한 조작된 IE 버퍼 주입
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 cfg80211_wext_siwgenie()의 IE 버퍼 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux