🇰🇷 한글 설명
Linux 커널의 Wacom HID 드라이버에서 wacom_wac_queue_flush() 함수가 원자적 컨텍스트(atomic context) 내에서 잘못된 메모리 할당 플래그를 사용하고 있습니다. GFP_KERNEL 대신 GFP_ATOMIC을 사용하여 할당 중 잠자기(sleep) 상태로 인해 발생할 수 있는 'scheduling while atomic' 오류를 방지합니다.
💡 쉬운 설명
컴퓨터가 아주 바쁘게 일하는 도중에 잠시 쉬어야 하는 명령을 내려서 시스템이 멈추거나 오류가 날 수 있는 결함입니다. Wacom 타블렛을 사용할 때 시스템이 불안정해지는 것을 막기 위해 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
wacom_wac_queue_flush() is called via the .raw_event callback
(wacom_raw_event → wacom_wac_pen_serial_enforce → wacom_wac_queue_flush).
For USB HID devices, this callback is invoked from hid_irq_in(), which
is a URB completion handler running in atomic context. Using GFP_KERNEL
in this path can sleep, leading to a "scheduling while atomic" bug.
Use GFP_ATOMIC instead. The existing code already handles allocation
failure by skipping the fifo entry and continuing.
📍 영향받는 시스템
Wacom HID 장치를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 HID 장치 이벤트를 유도하여 커널 패닉을 일으킬 수 있음
🛡️ 대응 방법
Wacom 드라이버 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.