# CVE-2026-64366: HID: wacom: fix slab-out-of-bounds write in wacom\_wac\_queue\_insert

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.40% (percentile 26, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-07-25T08:50:20.612Z
- **Modified:** 2026-10-19T21:17:33.120Z

## Who should check

- Anyone running Linux \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< ca899a926c11a59211b764b0155d9a1cdcc32b81; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 57bdd10ad50d68341f500a7b330f0d8949e510ec; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 6b3014ec0e9a390ca563030b2d7689921f0daef5
- Anyone running Linux 6.15

## 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.

## Affected and fixed versions

- Linux: \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< ca899a926c11a59211b764b0155d9a1cdcc32b81; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 57bdd10ad50d68341f500a7b330f0d8949e510ec; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 6b3014ec0e9a390ca563030b2d7689921f0daef5 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6b3014ec0e9a390ca563030b2d7689921f0daef5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64366. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64366.md
Affected: Linux >= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, < ca899a926c11a59211b764b0155d9a1cdcc32b81; >= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, < 57bdd10ad50d68341f500a7b330f0d8949e510ec; >= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, < 6b3014ec0e9a390ca563030b2d7689921f0daef5; Linux 6.15
Fixed in: Linux 57bdd10ad50d68341f500a7b330f0d8949e510ec, Linux 6b3014ec0e9a390ca563030b2d7689921f0daef5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64366 being exploited?

There is no confirmed exploitation: CVE-2026-64366 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64366?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64366?

Linux \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< ca899a926c11a59211b764b0155d9a1cdcc32b81; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 57bdd10ad50d68341f500a7b330f0d8949e510ec; \>= 5e013ad206895e72d7da41bc1ae89d8cb499c3aa, \< 6b3014ec0e9a390ca563030b2d7689921f0daef5; Linux 6.15.

### Is there a fix for CVE-2026-64366?

Yes. Fixed in Linux 57bdd10ad50d68341f500a7b330f0d8949e510ec, Linux 6b3014ec0e9a390ca563030b2d7689921f0daef5. Upgrade Linux to 6b3014ec0e9a390ca563030b2d7689921f0daef5 or later.

### How do I check if I'm affected by CVE-2026-64366?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ca899a926c11a59211b764b0155d9a1cdcc32b81>
- patch: <https://git.kernel.org/stable/c/57bdd10ad50d68341f500a7b330f0d8949e510ec>
- patch: <https://git.kernel.org/stable/c/6b3014ec0e9a390ca563030b2d7689921f0daef5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64366>

HTML: <https://flawdb.com/CVE-2026-64366> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64366>
