In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert… (CVE-2026-64366)
A slab-out-of-bounds write vulnerability in the Linux kernel's HID wacom driver was resolved. The issue occurs in the wacom_wac_queue_insert function when it improperly handles an empty kfifo buffer, leading to corrupted internal state and an out-of-bounds memory write of up to 3842 bytes beyond a 256-byte buffer. The fix adds a condition to prevent kfifo_skip from being called on an empty fifo and validates input sizes to reject oversized reports.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's HID wacom driver arises from improper handling of the kfifo buffer in the wacom_wac_queue_insert() function. When the kfifo is empty, the function calls kfifo_skip() which reads stale data and misinterprets it as a record length, corrupting the internal state. This corruption causes kfifo_unused() to return an erroneously large value, bypassing the guard in __kfifo_in_r() and resulting in an out-of-bounds memcpy that writes up to 3842 bytes beyond the allocated 256-byte buffer. The patch adds a check to ensure kfifo_skip() is not called on an empty fifo and verifies the return value of kfifo_in() to reject reports that exceed the fifo size.
Potential Impact
This vulnerability allows an out-of-bounds write in kernel memory, which can lead to memory corruption. Such corruption could potentially cause system instability, crashes, or be leveraged for privilege escalation or arbitrary code execution in the kernel context. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by adding a condition to prevent kfifo_skip() from being called on an empty fifo and by validating input sizes. Users and administrators should apply the official Linux kernel updates that include this patch. Since this is a kernel-level issue, updating to the fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed here; check the vendor or Linux kernel advisory for the exact fixed versions and update guidance.
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert… (CVE-2026-64366)
Description
A slab-out-of-bounds write vulnerability in the Linux kernel's HID wacom driver was resolved. The issue occurs in the wacom_wac_queue_insert function when it improperly handles an empty kfifo buffer, leading to corrupted internal state and an out-of-bounds memory write of up to 3842 bytes beyond a 256-byte buffer. The fix adds a condition to prevent kfifo_skip from being called on an empty fifo and validates input sizes to reject oversized reports.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's HID wacom driver arises from improper handling of the kfifo buffer in the wacom_wac_queue_insert() function. When the kfifo is empty, the function calls kfifo_skip() which reads stale data and misinterprets it as a record length, corrupting the internal state. This corruption causes kfifo_unused() to return an erroneously large value, bypassing the guard in __kfifo_in_r() and resulting in an out-of-bounds memcpy that writes up to 3842 bytes beyond the allocated 256-byte buffer. The patch adds a check to ensure kfifo_skip() is not called on an empty fifo and verifies the return value of kfifo_in() to reject reports that exceed the fifo size.
Potential Impact
This vulnerability allows an out-of-bounds write in kernel memory, which can lead to memory corruption. Such corruption could potentially cause system instability, crashes, or be leveraged for privilege escalation or arbitrary code execution in the kernel context. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by adding a condition to prevent kfifo_skip() from being called on an empty fifo and by validating input sizes. Users and administrators should apply the official Linux kernel updates that include this patch. Since this is a kernel-level issue, updating to the fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed here; check the vendor or Linux kernel advisory for the exact fixed versions and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4hx3-px5f-mcx4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64366"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084a78
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:30:20 UTC
Last updated: 07/26/2026, 03:58:22 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.