Stack-based buffer overflow in Linux kernel - CVE-2026-64274
Published: July 27, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause memory corruption.
The vulnerability exists due to a stack-based out-of-bounds write in goodix_ts_read_input_report() when processing device-reported touch contact data. A remote attacker can tamper with the I2C bus or use a malicious controller to write beyond an on-stack buffer and cause memory corruption.
The issue occurs because the maximum contact count taken from a 4-bit device configuration field can exceed the number of contacts the buffer is sized to hold.
Affected software
Ubuntu
linux (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-64274
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
External References
- https://git.kernel.org/stable/c/2a67668690129953e898923260a2dd1c7c196495
- https://git.kernel.org/stable/c/3b32303460155603d25444274856013d211d5e1f
- https://git.kernel.org/stable/c/46addbd13dbf4aacb71cfbca964a5e552d0f45ae
- https://git.kernel.org/stable/c/4bfea9c3a0981c1c7fc5d1a1b27197b2de247902
- https://git.kernel.org/stable/c/5ed62a96e06be4e94b8296b7932afee550a70e04
- https://git.kernel.org/stable/c/719d1a2c83a46be6bf81af905e4f6adb3d32dc28
- https://git.kernel.org/stable/c/98b2caef249183b572c04451365246f919707845
- https://git.kernel.org/stable/c/e825f352ef5271255cd08cc994b0dc25648a2f38