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

High 7.8 EPSS 0.2% Linux kernel

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.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Linux kernel and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64
Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernel
Fedora
sudo dnf upgrade --refresh kernel
SUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-default
Amazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade linux-lts linux-virt
FreeBSD
not Linux

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12linuxfixed6.1.180-1
Debian 13linuxfixed6.12.96-1
Debian testinglinuxfixed7.1.4-1
Debian 12linux-6.12fixed6.12.100-1~deb12u1
Ubuntu 18.04 (ESM)linuxnot fixed yet
Ubuntu 20.04 (ESM)linuxnot fixed yet
Ubuntu 22.04linuxfixed5.15.0-198.208
Ubuntu 24.04linuxfixed6.8.0-147.147
Ubuntu 26.04linuxfixed7.0.0-31.31
Ubuntu 26.10linuxnot affected
Ubuntu 18.04 (ESM)linux-hwenot planned
Ubuntu 18.04 (ESM)linux-hwe-5.4not fixed yet
Ubuntu 20.04 (ESM)linux-hwe-5.8not planned
Ubuntu 20.04 (ESM)linux-hwe-5.11not planned
Ubuntu 20.04 (ESM)linux-hwe-5.13not planned
Ubuntu 20.04 (ESM)linux-hwe-5.15fixed5.15.0-198.208~20.04.1
Ubuntu 22.04linux-hwe-5.19not planned
Ubuntu 22.04linux-hwe-6.2not planned
Ubuntu 22.04linux-hwe-6.5not planned
Ubuntu 22.04linux-hwe-6.8fix pending
Ubuntu 24.04linux-hwe-6.11not planned
Ubuntu 24.04linux-hwe-6.14not planned
Ubuntu 24.04linux-hwe-6.17not fixed yet
Ubuntu 24.04linux-hwe-7.0fixed7.0.0-31.31~24.04.1
Ubuntu 18.04 (ESM)linux-hwe-edgenot planned
Ubuntu 18.04 (ESM)linux-kvmnot fixed yet
Ubuntu 20.04 (ESM)linux-kvmnot fixed yet
Ubuntu 22.04linux-kvmfixed5.15.0-1109.114
Ubuntu 22.04linux-allwinner-5.19not planned
Ubuntu 18.04 (ESM)linux-awsnot fixed yet
Ubuntu 20.04 (ESM)linux-awsnot fixed yet
Ubuntu 26.04linux-awsfixed7.0.0-1012.12
Ubuntu 24.04linux-awsfixed6.8.0-1067.70
Ubuntu 22.04linux-awsfixed5.15.0-1117.124
Ubuntu 26.10linux-awsnot affected
Ubuntu 18.04 (ESM)linux-aws-5.0not planned
Ubuntu 18.04 (ESM)linux-aws-5.3not planned
Ubuntu 18.04 (ESM)linux-aws-5.4not fixed yet
Ubuntu 20.04 (ESM)linux-aws-5.8not planned
Ubuntu 20.04 (ESM)linux-aws-5.11not planned
Ubuntu 20.04 (ESM)linux-aws-5.13not planned
Ubuntu 20.04 (ESM)linux-aws-5.15fixed5.15.0-1117.124~20.04.1
Ubuntu 22.04linux-aws-5.19not planned
Ubuntu 22.04linux-aws-6.2not planned
Ubuntu 22.04linux-aws-6.5not planned
Ubuntu 22.04linux-aws-6.8fixed6.8.0-1069.74~22.04.1
Ubuntu 24.04linux-aws-6.14not planned
Ubuntu 24.04linux-aws-6.17not planned
Ubuntu 18.04 (ESM)linux-azurenot planned
Ubuntu 20.04 (ESM)linux-azurenot fixed yet
Ubuntu 24.04linux-azurefixed6.8.0-1071.79
Ubuntu 26.04linux-azurefixed7.0.0-1014.14
Ubuntu 22.04linux-azurefixed5.15.0-1123.132
Ubuntu 26.10linux-azurenot affected
Ubuntu 18.04 (ESM)linux-azure-4.15not fixed yet
Ubuntu 18.04 (ESM)linux-azure-5.3not planned
Ubuntu 18.04 (ESM)linux-azure-5.4not fixed yet
Ubuntu 20.04 (ESM)linux-azure-5.8not planned
Ubuntu 20.04 (ESM)linux-azure-5.11not planned
Ubuntu 20.04 (ESM)linux-azure-5.13not planned

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

Sources

Page generated automatically from official sources on 2026-11-11 17:22 UTC. Always confirm with your vendor's advisory.