🇰🇷 한글 설명
Linux 커널의 wilc1000 Wi-Fi 드라이버에서 메모리 할당 크기 계산 오류가 발견되었습니다. vmm_table 할당 시 데이터 타입의 크기를 곱하지 않아, 실제 할당된 범위를 벗어난 메모리에 데이터를 쓰는 slab-out-of-bounds 취약점이 존재합니다.
💡 쉬운 설명
Wi-Fi를 사용하는 과정에서 컴퓨터가 메모리를 저장할 공간을 실제 필요한 양보다 적게 예약하는 실수입니다. 이로 인해 정해진 공간을 넘어서 데이터를 쓰게 되어 시스템 오류나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: wilc1000: use vmm_table as array in wilc struct
Enabling KASAN and running some iperf tests raises some memory issues with
vmm_table:
BUG: KASAN: slab-out-of-bounds in wilc_wlan_handle_txq+0x6ac/0xdb4
Write of size 4 at addr c3a61540 by task wlan0-tx/95
KASAN detects that we are writing data beyond range allocated to vmm_table.
There is indeed a mismatch between the size passed to allocator in
wilc_wlan_init, and the range of possible indexes used later: allocation
size is missing a multiplication by sizeof(u32)
📍 영향받는 시스템
wilc1000 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
특수하게 조작된 네트워크 패킷을 전송하여 메모리 범위를 초과하는 쓰기 동작 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인