CVE-2026-64271·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-64271 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to fix a heap buffer overflow vulnerability in the Touchwindow touchscreen driver. This vulnerability allows a malicious or malfunctioning USB touchscreen device to write arbitrary data beyond the allocated buffer, potentially leading to privilege escalation or system crash. Apply the kernel update immediately, especially if you use external touchscreen hardware.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r
- Step 2: Compare against affected range (6.19 to 7.1.3): if your version falls within this range, you are vulnerable
- Step 3: Verify if serio Touchwindow driver is loaded: lsmod | grep touchwin or grep -i touchwindow /proc/devices
- Step 4: After patching, confirm the new kernel is running: uname -r should show 7.1.4 or later; reboot if necessary with: sudo reboot
FAQ
What is CVE-2026-64271?
This is a heap buffer overflow in the Linux kernel's Touchwindow serio driver that fails to properly reset its packet buffer index. A malicious touchscreen device can trigger unbounded out-of-bounds heap writes by sending packets with mismatched Y-axis bytes, potentially leading to code execution or denial of service.
Is CVE-2026-64271 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities catalog, and no public exploits are available. However, it requires physical access or compromised USB hardware to exploit, making it a lower-risk but high-impact flaw.
What versions of Kernel are affected by CVE-2026-64271?
Linux kernel versions 6.19 through 7.1.3 are vulnerable. Kernel 7.1.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64271?
Run: uname -r to get your kernel version. If it shows a version between 6.19 and 7.1.3, you are vulnerable. Then check: lsmod | grep touchwin to see if the affected driver is loaded.
Does Defensia detect CVE-2026-64271?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64271 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/044167cba2384bcd783547ad5e30ecd292b30919
- https://git.kernel.org/stable/c/3e6f007b43e2fc6546e21fa74ee62c38984a6672
- https://git.kernel.org/stable/c/431ad239f2924dff337c3fccb9246597c1b63185
- https://git.kernel.org/stable/c/478cdd736f2ce3114f90e775d7358136d3977b94
- https://git.kernel.org/stable/c/6c9f29f128dd4057404838259af4c645318487e1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64271. Free for 1 server.
Get started free