PatchSiren cyber security CVE debrief
CVE-2026-64366 Linux CVE debrief
A slab-out-of-bounds write vulnerability exists in the Linux kernel's HID: wacom module. The vulnerability is caused by the wacom_wac_queue_insert function calling kfifo_skip in a loop when the kfifo does not have enough space for the incoming report. If the kfifo is empty, kfifo_skip reads stale data left in the kmalloc'd buffer 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. kfifo_copy_in then performs an out-of-bounds memcpy, writing up to 3842 bytes past the 256-byte buffer.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- HIGH 8.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-25
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-07-25
- Advisory updated
- 2026-10-19
Who should care
Defenders responsible for Linux kernel security, particularly those managing Linux-based systems with HID: wacom modules, should assess exposure and prioritize patching to prevent potential slab-out-of-bounds write exploitation. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify Linux kernel versions, apply patches, and monitor system logs for potential exploitation attempts.
Why it matters
The vulnerability allows for a slab-out-of-bounds write in the Linux kernel's HID: wacom module, potentially leading to system compromise.
- Verify Linux kernel versions to identify potentially vulnerable systems.
- Apply patches to prevent slab-out-of-bounds write exploitation.
- Monitor system logs for potential exploitation attempts.
Technical summary
The vulnerability exists in the Linux kernel's HID: wacom module, specifically in the wacom_wac_queue_insert function. The function calls kfifo_skip in a loop when the kfifo does not have enough space for the incoming report. If the kfifo is empty, kfifo_skip reads stale data left in the kmalloc'd buffer 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. kfifo_copy_in then performs an out-of-bounds memcpy, writing up to 3842 bytes past the 256-byte buffer.
Defensive priority
Defenders should prioritize verifying the Linux kernel version and applying patches to fix the vulnerability.
Recommended defensive actions
- Verify the Linux kernel version and compare it to the known affected versions.
- Apply patches to fix the vulnerability.
- Monitor system logs for potential exploitation attempts.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The vulnerability was resolved in the Linux kernel. The fix involves adding a !kfifo_is_empty condition to the while loop so kfifo_skip is never called on an empty fifo, and checking the return value of kfifo_in to reject reports that are too large for the fifo.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-64366 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-64366
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-64366 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-64366
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
HID: wacom: fix slab-out-of-bounds write in wacom_wac_queue_insert
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/64xxx/CVE-2026-64366.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/ca899a926c11a59211b764b0155d9a1cdcc32b81
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/57bdd10ad50d68341f500a7b330f0d8949e510ec
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/6b3014ec0e9a390ca563030b2d7689921f0daef5
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.