🇰🇷 한글 설명
Linux 커널의 hwmon(nzxt-kraken3) 드라이버에서 hid_hw_stop() 호출 전 장치 IO를 중단하지 않아 발생하는 취약점입니다. 드라이버 프로브 과정에서 오류가 발생할 경우 hid_input_report()와 IO 시작 시점 사이에 레이스 컨디션이 발생하여 Use-After-Free(UAF) 취약점으로 이어질 수 있습니다.
💡 쉬운 설명
장치를 끄는 과정에서 순서가 잘못되어, 이미 꺼진 장치를 다시 사용하려고 시도할 때 시스템 오류가 발생하는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 공격에 노출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (nzxt-kraken3) Stop device IO before calling hid_hw_stop
Calling hid_hw_stop() does not stop the device IO.
This results in a race condition between hid_input_report() and the point
immediately following the execution of hid_device_io_start() within
the driver probe function. If the probe operation fails after "io start"
has been initiated, this race condition will result in a UAF vulnerability.
Fix the problem by calling hid_device_io_stop() before calling
hid_hw_stop().
📍 영향받는 시스템
nzxt-kraken3 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
드라이버 초기화(probe) 과정 중 특정 오류를 유도하여 레이스 컨디션을 일으킴으로써 메모리 취약점(UAF)을 악용
🛡️ 대응 방법
hid_hw_stop()을 호출하기 전에 hid_device_io_stop()을 먼저 호출하도록 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인