🇰🇷 한글 설명
Linux 커널 HID magicmouse 드라이버에서 가짜 USB 장치의 리포트 설명자 전송 시 input_mapping() 훅이 호출되지 않으면 msc->input이 NULL로 유지되어 나중에 커널 크래시를 발생시킵니다. input_configured() 훅에서 이 조건을 감지하여 장치를 거부하도록 수정되었습니다.
💡 쉬운 설명
위조된 Magic Mouse 장치가 컴퓨터에 연결될 때 리눅스가 충돌할 수 있는 보안 결함입니다. 시스템이 이제 이런 의심스러운 장치를 미리 감지하고 차단합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: magicmouse: Do not crash on missing msc->input
Fake USB devices can send their own report descriptors for which the
input_mapping() hook does not get called. In this case, msc->input stays NULL,
leading to a crash at a later time.
Detect this condition in the input_configured() hook and reject the device.
This is not supposed to happen with actual magic mouse devices, but can be
provoked by imposing as a magic mouse USB device.
📍 영향받는 시스템
Linux 커널 모든 버전의 HID magicmouse 드라이버
⚔️ 공격 벡터
위조된 Magic Mouse USB 장치를 시스템에 물리적으로 연결하여 DoS 유발
🛡️ 대응 방법
Linux 커널을 최신 버전으로 업데이트하여 HID magicmouse 드라이버 패치 적용
🔧 검증 코드
커널 버전 확인 후 magicmouse 드라이버가 활성화되었는지 확인하며, 최신 커널이면 취약점 패치 적용됨
uname -r && cat /boot/config-$(uname -r) 2>/dev/null | grep CONFIG_HID_MAGICMOUSE