🇰🇷 한글 설명
리눅스 커널의 Huawei HID 드라이버에서 USB 여부를 확인하지 않고 USB 인터페이스 함수를 호출하는 취약점이 발견되었습니다. uhid를 통해 USB가 아닌 장치를 USB 장치인 것처럼 속일 경우 커널 메모리 오류(kernel splat)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 가짜 USB 장치를 진짜 USB인 것처럼 착각하게 만들어 시스템을 혼란에 빠뜨리는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: huawei: 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.
📍 영향받는 시스템
USB HID 드라이버를 사용하는 Linux Kernel (Huawei 관련 모듈 포함)
⚔️ 공격 벡터
uhid를 사용하여 부모 장치가 USB가 아닌 가짜 USB 장치를 생성하여 커널 함수 호출 유도
🛡️ 대응 방법
해당 패치가 적용된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인