# CVE-2026-64271: Input: touchwin - reset the packet index on every complete packet

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2026-07-25T08:49:18.160Z
- **Modified:** 2026-11-06T17:18:44.697Z

## Who should check

- Anyone running Linux \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< ed9b66905407eb3d02df1aaeed82eb7a7f0eb508; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 044167cba2384bcd783547ad5e30ecd292b30919; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 6c9f29f128dd4057404838259af4c645318487e1; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 431ad239f2924dff337c3fccb9246597c1b63185; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 70e4248793762df9832fd4fc2fc6ac7924572c36; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 3e6f007b43e2fc6546e21fa74ee62c38984a6672; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< a8d87184576c889759e3aab899799a482f1e1a5b; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 478cdd736f2ce3114f90e775d7358136d3977b94
- Anyone running Linux 2.6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

Input: touchwin - reset the packet index on every complete packet

tw\_interrupt() accumulates each non-zero serial byte into a fixed
three-byte buffer with a running index that is only reset once a full
packet has been received \*and\* the device's two Y bytes agree:

	tw-\>data\[tw-\>idx++\] = data;
	if (tw-\>idx == TW\_LENGTH && tw-\>data\[1\] == tw-\>data\[2\]) {
		...
		tw-\>idx = 0;
	}

The reset is gated on tw-\>data\[1\] == tw-\>data\[2\], a value the device
controls.  A malicious, malfunctioning or counterfeit Touchwindow
peripheral can stream non-zero bytes whose 2nd and 3rd bytes differ: the
index reaches TW\_LENGTH without the equality holding, is never reset, and
keeps growing, so tw-\>data\[tw-\>idx++\] walks off the end of the three-byte
array and the rest of the heap-allocated struct tw, one attacker-chosen
byte at a time -- an unbounded, device-driven heap out-of-bounds write.

Reset the index on every completed packet and report an event only when
the two Y bytes match, like the other serio touchscreen drivers do.

## Affected and fixed versions

- Linux: \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< ed9b66905407eb3d02df1aaeed82eb7a7f0eb508; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 044167cba2384bcd783547ad5e30ecd292b30919; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 6c9f29f128dd4057404838259af4c645318487e1; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 431ad239f2924dff337c3fccb9246597c1b63185; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 70e4248793762df9832fd4fc2fc6ac7924572c36; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 3e6f007b43e2fc6546e21fa74ee62c38984a6672; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< a8d87184576c889759e3aab899799a482f1e1a5b; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 478cdd736f2ce3114f90e775d7358136d3977b94 (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

- Upgrade Linux to 478cdd736f2ce3114f90e775d7358136d3977b94 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64271. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64271.md
Affected: Linux >= 11ea3173d5f2de71d037ef58ac43395795fed2bc, < ed9b66905407eb3d02df1aaeed82eb7a7f0eb508; >= 11ea3173d5f2de71d037ef58ac43395795fed2bc, < 044167cba2384bcd783547ad5e30ecd292b30919; >= 11ea3173d5f2de71d037ef58ac43395795fed2bc, < 6c9f29f128dd4057404838259af4c645318487e1; >= 11ea3173d5f2de71d037ef5…
Fixed in: Linux 044167cba2384bcd783547ad5e30ecd292b30919, Linux 6c9f29f128dd4057404838259af4c645318487e1, Linux 431ad239f2924dff337c3fccb9246597c1b63185, Linux 70e4248793762df9832fd4fc2fc6ac7924572c36, Linux 3e6f007b43e2fc6546e21fa74ee62c38984a6672, Linux 478cdd736f2ce3114f90e775d7358136d3977b94

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64271 being exploited?

There is no confirmed exploitation: CVE-2026-64271 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64271?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64271?

Linux \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< ed9b66905407eb3d02df1aaeed82eb7a7f0eb508; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 044167cba2384bcd783547ad5e30ecd292b30919; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 6c9f29f128dd4057404838259af4c645318487e1; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 431ad239f2924dff337c3fccb9246597c1b63185; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 70e4248793762df9832fd4fc2fc6ac7924572c36; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 3e6f007b43e2fc6546e21fa74ee62c38984a6672; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< a8d87184576c889759e3aab899799a482f1e1a5b; \>= 11ea3173d5f2de71d037ef58ac43395795fed2bc, \< 478cdd736f2ce3114f90e775d7358136d3977b94; Linux 2.6.19.

### Is there a fix for CVE-2026-64271?

Yes. Fixed in Linux 044167cba2384bcd783547ad5e30ecd292b30919, Linux 6c9f29f128dd4057404838259af4c645318487e1, Linux 431ad239f2924dff337c3fccb9246597c1b63185, Linux 70e4248793762df9832fd4fc2fc6ac7924572c36, Linux 3e6f007b43e2fc6546e21fa74ee62c38984a6672, Linux 478cdd736f2ce3114f90e775d7358136d3977b94. Upgrade Linux to 478cdd736f2ce3114f90e775d7358136d3977b94 or later.

### How do I check if I'm affected by CVE-2026-64271?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ed9b66905407eb3d02df1aaeed82eb7a7f0eb508>
- patch: <https://git.kernel.org/stable/c/044167cba2384bcd783547ad5e30ecd292b30919>
- patch: <https://git.kernel.org/stable/c/6c9f29f128dd4057404838259af4c645318487e1>
- patch: <https://git.kernel.org/stable/c/431ad239f2924dff337c3fccb9246597c1b63185>
- patch: <https://git.kernel.org/stable/c/70e4248793762df9832fd4fc2fc6ac7924572c36>
- patch: <https://git.kernel.org/stable/c/3e6f007b43e2fc6546e21fa74ee62c38984a6672>
- patch: <https://git.kernel.org/stable/c/a8d87184576c889759e3aab899799a482f1e1a5b>
- patch: <https://git.kernel.org/stable/c/478cdd736f2ce3114f90e775d7358136d3977b94>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64271>

HTML: <https://flawdb.com/CVE-2026-64271> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64271>
