🇰🇷 한글 설명
Linux 커널의 synaptics-rmi4 드라이버에서 시스템 절전 및 복구 시 발생하는 일반 보호 오류(GPF) 취약점입니다. 물리적 RMI 드라이버가 바인딩되지 않은 상태에서 전원 관리 이벤트가 발생할 경우, NULL 포인터를 참조하여 시스템 충돌이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 잠자기 모드에 들어가거나 깨어날 때, 연결되지 않은 장치를 제어하려다 시스템이 멈추거나 오류가 발생하는 문제입니다. 드라이버가 준비되지 않았을 때 작업을 중단하도록 수정하여 해결할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: synaptics-rmi4 - fix GPF in suspend and resume when unbound
Transport drivers (such as rmi_i2c and rmi_spi) invoke
rmi_driver_suspend() and rmi_driver_resume() on their child rmi_dev
device during system power management events. However, transport drivers
are fully registered and operational even if the physical RMI driver
failed to bind or probe the rmi_dev device.
When rmi_driver_suspend() or rmi_driver_resume() is called on an unbound
rmi_dev, dev_get_drvdata() returns NULL. Calling rmi_disable_irq() or
rmi_enable_irq() without driver data attached causes a NULL pointer
dereference and General Protection Fault when attempting to lock
data->enabled_mutex.
Fix this by checking if driver data is attached to rmi_dev in
rmi_driver_suspend() and rmi_driver_resume(), exiting early if
no driver data is present.
📍 영향받는 시스템
Linux kernel (synaptics-rmi4 driver involved)
⚔️ 공격 벡터
로컬 시스템의 전원 관리 이벤트(Suspend/Resume)를 유도하여 시스템 충돌 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이상인지 확인