In the Linux kernel, the following vulnerability has been resolved: Input: touchwin - reset the packet index on every complete packet tw_interrupt()… (CVE-2026-64271)
A vulnerability in the Linux kernel's touchwin input driver allows a malicious or faulty Touchwindow device to cause an unbounded heap out-of-bounds write. This occurs because the packet index is only reset when two device-controlled bytes match, enabling an attacker to overflow a fixed three-byte buffer by sending crafted input. The issue has been resolved by resetting the index on every completed packet regardless of byte equality.
AI Analysis
Technical Summary
The Linux kernel's touchwin input driver accumulates serial bytes into a fixed three-byte buffer with an index reset only when a full packet is received and the device-controlled second and third bytes match. A malicious or counterfeit Touchwindow peripheral can send non-zero bytes with differing second and third bytes, preventing the index reset and causing the index to exceed the buffer length. This results in an unbounded heap out-of-bounds write, allowing an attacker to overwrite adjacent heap memory one byte at a time. The fix involves resetting the packet index on every completed packet and only reporting events when the two bytes match, aligning with other serio touchscreen drivers.
Potential Impact
An attacker controlling a malicious or malfunctioning Touchwindow device can exploit this vulnerability to perform unbounded heap out-of-bounds writes in kernel memory. This could lead to memory corruption, potential privilege escalation, or system instability. However, exploitation requires physical or logical control over the input device, limiting the attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix resets the packet index on every completed packet and reports events only when the two Y bytes match, preventing the out-of-bounds write. Users should monitor for official Linux kernel updates addressing CVE-2026-64271 and apply them promptly once available.
In the Linux kernel, the following vulnerability has been resolved: Input: touchwin - reset the packet index on every complete packet tw_interrupt()… (CVE-2026-64271)
Description
A vulnerability in the Linux kernel's touchwin input driver allows a malicious or faulty Touchwindow device to cause an unbounded heap out-of-bounds write. This occurs because the packet index is only reset when two device-controlled bytes match, enabling an attacker to overflow a fixed three-byte buffer by sending crafted input. The issue has been resolved by resetting the index on every completed packet regardless of byte equality.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's touchwin input driver accumulates serial bytes into a fixed three-byte buffer with an index reset only when a full packet is received and the device-controlled second and third bytes match. A malicious or counterfeit Touchwindow peripheral can send non-zero bytes with differing second and third bytes, preventing the index reset and causing the index to exceed the buffer length. This results in an unbounded heap out-of-bounds write, allowing an attacker to overwrite adjacent heap memory one byte at a time. The fix involves resetting the packet index on every completed packet and only reporting events when the two bytes match, aligning with other serio touchscreen drivers.
Potential Impact
An attacker controlling a malicious or malfunctioning Touchwindow device can exploit this vulnerability to perform unbounded heap out-of-bounds writes in kernel memory. This could lead to memory corruption, potential privilege escalation, or system instability. However, exploitation requires physical or logical control over the input device, limiting the attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix resets the packet index on every completed packet and reports events only when the two Y bytes match, preventing the out-of-bounds write. Users should monitor for official Linux kernel updates addressing CVE-2026-64271 and apply them promptly once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v33c-vvwm-9mr7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64271"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420e9c2644c7f8086604
Added to database: 07/25/2026, 23:09:02 UTC
Last enriched: 07/25/2026, 23:41:05 UTC
Last updated: 07/26/2026, 03:58:55 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.