🇰🇷 한글 설명
Linux 커널의 wfx 드라이버에서 MIB 데이터를 읽을 때 데이터 길이를 검증하지 않는 취약점이 발견되었습니다. 펌웨어 응답의 길이 필드가 할당된 버퍼보다 클 경우 버퍼 오버플로가 발생하여 메모리 영역을 침범할 수 있습니다.
💡 쉬운 설명
와이파이 장치와 통신할 때 전달받은 데이터의 크기가 실제 준비된 공간보다 큰지 확인하지 않아 발생하는 문제입니다. 이로 인해 시스템의 중요한 메모리 영역이 잘못 읽히거나 덮어씌워질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: wfx: validate MIB read length before copying to caller
wfx_hif_read_mib() copies reply->length bytes from the firmware
response into the caller-provided buffer without checking that
reply->length does not exceed val_len. A firmware response with
a length field larger than expected overruns the caller buffer and
reads past the end of the reply allocation.
Replace the dead -ENOMEM check with an active validation that
reply->length fits within val_len before the memcpy.
📍 영향받는 시스템
Linux kernel (wfx driver 포함 버전)
⚔️ 공격 벡터
조작된 길이를 가진 악성 펌웨어 응답을 통한 메모리 오버플로 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인