Junglewise Threat Intelligence

CVE-2026-64274: Linux Kernel stack out-of-bounds write in Goodix touchscreen driver

CVE-2026-64274 · Severity: info · CVSS 6.4 · Published 2026-07-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A security vulnerability has been identified in the Linux kernel driver for Goodix touchscreens, which are commonly used in tablets and laptops. A malicious or compromised hardware component could send more touch-point data than the system expects, causing a memory error. This could potentially lead to a system crash or allow an attacker with physical access to the device to compromise the operating system.

Technical details

A stack-based out-of-bounds write exists in the Goodix touchscreen driver (drivers/input/touchscreen/goodix.c) within the goodix_ts_read_input_report() function. The driver reads the 'max_touch_num' value from a 4-bit field in the device configuration block without clamping it to the internal buffer size (GOODIX_MAX_CONTACTS, which is 10). Because the 4-bit field can represent values up to 15, a malicious or malfunctioning controller can trigger a write of up to 45 bytes beyond the allocated 92-byte on-stack buffer. This requires the ability to provide malicious input via the I2C bus. The issue has been resolved by clamping the reported contact count during configuration reading.

Affected products

  • Linux Linux Kernel a7ac7c95d468 to e825f352ef52

Timeline

  • 2026-06-12: disclosed: Vulnerability reported by Bryam Vargas
  • 2026-07-18: patched: Fix committed to stable kernel trees
  • 2026-07-25: advisory: CVE-2026-64274 published

References

Related threats