CVE-2026-64366
Last modified
CVE-2026-64366 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.15, < 6.18.39 |
| Linux | Linux Kernel | >= 6.19, < 7.1.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-64366?
How severe is CVE-2026-64366?
How do I fix CVE-2026-64366?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64360In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64361In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64362In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64363In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64364In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64365In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64367In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64368In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-64369In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-6437Improper neutralization of argument delimiters in the volume…6.9
- CVE-2026-64370In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64371In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-64366?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
