🇰🇷 한글 설명
Linux 커널의 media: rc: igorplugusb 드라이버에서 제어 요청 설정 패킷 처리 오류가 발견되었습니다. DMA 일관성 규칙을 준수하기 위해 구조체를 포인터로 변경했으나, USB 코어가 잘못된 메모리 주소를 설정 패킷으로 해석하여 유효하지 않은 요청 유형을 생성할 수 있는 문제입니다.
💡 쉬운 설명
USB 장치와 통신할 때 데이터가 저장된 위치를 잘못 가리켜서 시스템이 혼란을 겪는 문제입니다. 이로 인해 잘못된 명령이 전달되거나 시스템 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: rc: igorplugusb: fix control request setup packet
Commit eac69475b01f ("media: rc: igorplugusb: heed coherency
rules") changed the control request storage from an embedded struct to
an allocated pointer so it can obey DMA coherency rules.
However, the driver still passes &ir->request to usb_fill_control_urb().
That points the URB setup packet at the pointer field itself rather than
at the allocated struct usb_ctrlrequest.
USB core then interprets pointer bytes as the setup packet. This can
produce an invalid bRequestType and trigger the control direction warning
reported by syzbot:
usb 2-1: BOGUS control dir, pipe 80003580 doesn't match bRequestType 0
Pass ir->request itself as the setup packet.
📍 영향받는 시스템
Linux kernel (media: rc: igorplugusb 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
악의적으로 조작된 USB 장치를 연결하여 잘못된 제어 요청 패킷을 전송
🛡️ 대응 방법
커널 패치(Commit eac69475b01f 포함 버전)를 적용하여 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 커밋 이후의 버전인지 확인