CVE-2026-64366·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert wacom_wac_queue_insert() calls kfifo_skip() in a loop when the kfifo doesn't have enough space for the incoming report. If the kfifo is empty, kfifo_skip() reads stale data left in the kmalloc'd buffer via __kfifo_peek_n() and interprets it as a record length, advancing fifo->out by that garbage value. This corrupts the internal kfifo state, causing kfifo_unused() to return a value much larger than the actual buffer size, which bypasses __kfifo_in_r()'s guard: if (len + recsize > kfifo_unused(fifo)) return 0; kfifo_copy_in() then performs an out-of-bounds memcpy, writing up to 3842 bytes past the 256-byte buffer. Add a !kfifo_is_empty() condition to the while loop so kfifo_skip() is never called on an empty fifo, and check the return value of kfifo_in() to reject reports that are too large for the fifo.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
- 2026-07-25
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 patch a buffer overflow vulnerability in the Wacom HID driver's queue management. This issue affects kernel versions 6.19 through 7.1.3 and can be exploited locally to cause memory corruption. Apply the kernel update immediately and reboot your system to ensure the patched code is running.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version and verify if it falls within the affected range (6.19 to 7.1.3)
- Check if Wacom HID devices are present on the system with `lsusb | grep -i wacom` or `lsmod | grep wacom`
- Review kernel logs for memory corruption indicators using `dmesg | grep -i 'slab\|buffer\|overflow\|wacom'`
- After updating, reboot and confirm the new kernel version with `uname -r` to ensure it is 7.1.4 or later
FAQ
What is CVE-2026-64366?
This vulnerability exists in the Linux kernel's Wacom HID driver where the wacom_wac_queue_insert() function mishandles queue management, allowing uninitialized buffer data to be interpreted as record lengths, causing an out-of-bounds write of up to 3.8 KB past a 256-byte buffer.
Is CVE-2026-64366 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog and has no publicly available exploits, though local privilege escalation is theoretically possible.
What versions of Kernel are affected by CVE-2026-64366?
Linux kernel versions 6.19 through 7.1.3 are affected. Version 7.1.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64366?
Run `uname -r` and compare your kernel version against the affected range (6.19 to 7.1.3); additionally verify Wacom HID device presence with `lsusb | grep -i wacom`.
Does Defensia detect CVE-2026-64366?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64366 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64366. Free for 1 server.
Get started free