Impact
In the Linux kernel, the TouchWindow driver accumulates serial data in a three‑byte buffer and only resets the index when a full packet is received AND when the second and third bytes match the device‑controlled value. If the two bytes differ, the index never resets, causing the driver to write beyond the allocated buffer. This unbounded heap out‑of‑bounds write can target arbitrary kernel memory chosen by the peripheral, creating the possibility of escalating privileges. The flaw is a classic out‑of‑bounds write vulnerability (CWE‑129).
Affected Systems
The issue exists in any Linux kernel build that includes the TouchWindow driver before the patch commits referenced in the advisory. All kernels that ship with this driver and expose the TouchWindow serial interface are potentially affected. Affected kernel versions are not explicitly listed, so any kernel that has not applied these commits remains at risk.
Risk and Exploitability
This vulnerability, rated with a CVSS score of 7.8, allows an attacker with access to a TouchWindow peripheral to perform an unbounded heap out‑of‑bounds write. The EPSS score of less than 1 % reflects a very low likelihood of exploitation in the wild, and the issue has not been cited in CISA’s KEV catalog. However, the potential impact remains severe: a successful exploitation could lead to privilege escalation or remote code execution, especially on systems that run the vulnerable driver and accept data from the peripheral.
OpenCVE Enrichment
Debian DLA