🇰🇷 한글 설명
Linux 커널의 ASUS HID 드라이버에서 hid_is_usb() 체크가 누락되어 발생하는 취약점입니다. uhid를 통해 USB 부모 장치가 없는 가상 장치를 생성할 경우, to_usb_interface() 함수 호출 시 커널 메모리 오류(kernel splat)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 가짜 USB 장치인 것처럼 속여서 명령을 내릴 때, 시스템이 이를 제대로 확인하지 못해 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: asus: fix missing hid_is_usb() check
to_usb_interface() can only be used on a hid_device whose parent is really
USB; uhid can create devices that identify as being on BUS_USB, but don't
actually have a USB parent.
Fix the use of to_usb_interface() without a hid_is_usb() check.
I have verified that it is currently possible to trigger a kernel splat due
to this bug in an ASAN build, and that this commit fixes the issue.
📍 영향받는 시스템
hid_is_usb() 체크가 누락된 버전의 Linux 커널 (ASUS HID 드라이버 포함)
⚔️ 공격 벡터
uhid를 사용하여 USB 부모 장치가 없는 가짜 HID 장치를 생성하여 커널 오류 유도
🛡️ 대응 방법
해당 수정 사항이 반영된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인