🔍 CVE-2026-64274

7.8
CVSS Score
HIGH
2026-07-25
2026-10-24 13:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Goodix 터치스크린 드라이버에서 스택 기반 버퍼 오버플로 취약점이 발견되었습니다. 악의적인 장치나 조작된 I2C 버스를 통해 최대 15개의 접촉 지점을 보고할 경우, 할당된 버퍼 크기를 초과하여 데이터를 기록할 수 있습니다.

💡 쉬운 설명

터치스크린 장치가 실제보다 더 많은 손가락이 닿았다고 거짓 정보를 보내면, 컴퓨터의 중요한 메모리 영역을 침범할 수 있는 문제입니다. 이를 통해 해커가 시스템을 제어하거나 오류를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Input: goodix - clamp the device-reported contact count goodix_ts_read_input_report() copies the number of touch points reported by the device into an on-stack buffer u8 point_data[2 + GOODIX_MAX_CONTACT_SIZE * GOODIX_MAX_CONTACTS]; which is sized for at most GOODIX_MAX_CONTACTS (10) contacts. The only runtime check bounds the per-interrupt count against ts->max_touch_num, but that value is taken verbatim from a 4-bit field of the device configuration block and is never clamped: ts->max_touch_num = ts->config[MAX_CONTACTS_LOC] & 0x0f; The nibble can be 0..15, so a malfunctioning, malicious or counterfeit controller (or an attacker tampering with the I2C bus) can advertise up to 15 contacts. goodix_ts_read_input_report() then accepts a touch_num of up to 15 and the second goodix_i2c_read() writes ts->contact_size * (touch_num - 1) bytes past the one-contact header into point_data - up to 30 bytes (45 with the 9-byte report format) beyond the 92-byte buffer: a stack out-of-bounds write. Clamp max_touch_num to GOODIX_MAX_CONTACTS, the number of contacts point_data[] is sized for, when reading it from the configuration.

📍 영향받는 시스템

Linux kernel (Goodix touch driver 사용 시스템)

⚔️ 공격 벡터

조작된 I2C 통신을 통해 잘못된 접촉 지점(contact count) 정보를 전달하는 방식

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 max_touch_num 값을 제한해야 합니다.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel