🇰🇷 한글 설명
Linux 커널의 intel-thc-hid 드라이버에서 발생하는 버퍼 오버플로우 취약점입니다. quickspi_get_report 함수가 호출자가 요청한 버퍼 크기를 확인하지 않고 장치에서 전달된 전체 응답을 복사함으로써 메모리 오버플로우가 발생할 수 있습니다.
💡 쉬운 설명
터치 컨트롤러 장치가 컴퓨터가 준비한 공간보다 더 큰 데이터를 보내면, 컴퓨터의 메모리 영역을 넘쳐흐르게 만드는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 공격에 노출될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
HID: intel-thc-hid: intel-quickspi: bound GET_REPORT response to the caller buffer
quickspi_hid_raw_request() receives the caller's buffer length in len, but
quickspi_get_report() never sees it and copies the whole device-supplied
response into buf regardless:
memcpy(buf, qsdev->report_buf, qsdev->report_len);
qsdev->report_len comes from the input report the touch controller returns,
while buf is sized to whatever the caller asked hidraw for through
HIDIOCGFEATURE or HIDIOCGINPUT. A response larger than that overflows buf
with device-controlled content.
The intel-quicki2c sibling already passes the caller length down to
quicki2c_get_report() and validates the response against it before the
copy. Do the same here.
📍 영향받는 시스템
Linux kernel (intel-thc-hid 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
악의적으로 조작된 응답을 보내는 하드웨어 장치를 통해 메모리 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인