🇰🇷 한글 설명
Linux 커널의 mt76 Wi-Fi 드라이버에서 mmio 복사 도우미 함수인 mt76_mmio_write_copy() 및 mt76_mmio_read_copy()가 경계 외 메모리에 접근하는 취약점이 발견되었습니다. 데이터 길이가 4의 배수가 아닐 경우, 정렬된 크기만큼 반복문을 수행하면서 소스 버퍼를 초과하여 읽거나 대상 버퍼를 초과하여 쓰는 문제가 발생합니다.
💡 쉬운 설명
Wi-Fi를 제어하는 소프트웨어에서 데이터를 옮길 때, 정해진 크기보다 더 많은 데이터를 읽거나 쓰려고 시도하는 오류가 있습니다. 이로 인해 시스템의 중요한 메모리 영역이 잘못 건드려질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix out-of-bounds access in mmio copy helpers
mt76_mmio_write_copy() and mt76_mmio_read_copy() iterate up to
ALIGN(len, 4), so a length that is not a multiple of four reads past the
source buffer (write_copy) or writes past the destination (read_copy).
Copy the aligned body in the loop and handle the remaining tail through a
4-byte bounce buffer, keeping the register access width unchanged.
📍 영향받는 시스템
mt76 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
취약한 드라이버를 통해 조작된 길이의 데이터를 전달하여 메모리 경계 외 접근 유도
🛡️ 대응 방법
mt76_mmio_write_copy 및 mt76_mmio_read_copy 함수가 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 패치된 최신 버전인지 확인합니다.