🇰🇷 한글 설명
Linux 커널의 xpad 드라이버에서 Share 버튼 처리 중 경계 외 메모리 접근(Out-of-bounds access) 취약점이 발견되었습니다. 공격자가 조작된 패킷을 보내 실제 데이터 길이보다 큰 인덱스에 접근하게 함으로써 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
게임 컨트롤러가 컴퓨터에 잘못된 크기의 데이터를 보낼 때, 컴퓨터가 데이터 범위를 벗어난 메모리 영역을 읽으려다 발생하는 문제입니다. 이를 통해 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: xpad - fix out-of-bounds access for Share button
xpadone_process_packet() receives len directly from urb->actual_length
and uses it to index the share-button byte at data[len - 18] or
data[len - 26]. Since both len and data[0] are under the device's
control, a broken controller can send a GIP_CMD_INPUT packet with
actual_length < 18 (e.g. 5 bytes) and reach this code path, causing
accesses beyond the actual array.
Fix this by calculating the offset and checking bounds against the
packet length.
📍 영향받는 시스템
Linux kernel (xpad driver 사용 시스템)
⚔️ 공격 벡터
조작된 GIP_CMD_INPUT 패킷을 전송하는 악의적인 하드웨어 컨트롤러를 통한 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.