🇰🇷 한글 설명
Linux 커널의 intel-ish-hid 드라이버에서 발생한 Use-After-Free 취약점입니다. 장치 초기화(probe) 실패 시 관련 리소스는 해제되지만 예약된 작업(work function)이 취소되지 않아, 해제된 메모리에 접근을 시도할 때 문제가 발생합니다.
💡 쉬운 설명
컴퓨터 부품을 준비하는 과정에서 오류가 났을 때, 이미 치워버린 부품을 다시 사용하려고 시도하면서 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
When a reset notify IPC message is received, the ISR schedules a work
function and passes the ISHTP device to it via a global pointer
ishtp_dev. If ish_probe() fails, the devm-managed device resources
including ishtp_dev are freed, but the work is not cancelled, causing a
use-after-free when the work function tries to access ishtp_dev. Use
devm_work_autocancel() instead, so that the work is automatically
cancelled if probe fails.
📍 영향받는 시스템
Intel ISH(Integrated Sensor Hub)를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 인터럽트 상황을 유도하여 메모리 오류를 발생시킴
🛡️ 대응 방법
커널 패치를 적용하여 devm_work_autocancel() 함수를 사용하도록 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인