VDB

CVE-2026-64271

CVE-2026-64271 PUBLISHED

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

Reported by linux · Published July 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.39-79.141.amzn2023
kernel-livepatch-6.18.39-79.141Amazon Linux1:1.0-0.amzn2023
perf6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernel6.18-develAmazon Linux1:6.18.39-79.141.amzn2023

Affected products

VendorProductVersions
LinuxLinux11ea3173d5f2de71d037ef58ac43395795fed2bc, 11ea3173d5f2de71d037ef58ac43395795fed2bc, 11ea3173d5f2de71d037ef58ac43395795fed2bc
LinuxLinux2.6.19, 0, 5.10.261
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-livepatch-6.18.39-79.1410
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
linuxlinux_kernel2.6.19, 2.6.19, 2.6.19
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools0
LinuxLinux7.2, 6.1.178, 6.6.145
amazon:2023kernel6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180

Timeline

  • Jul 25, 2026 EPSS Score (13 in total, the first dated here)
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Coalition ESS Score
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64271
vulnetix vdb fixes CVE-2026-64271

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64271/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›