CVE
CVE-2026-63916
CNA description
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Fix OOB write in wacom_hid_set_device_mode() wacom_hid_set_device_mode() currently assumes that the HID_DG_INPUTMODE usage is always located in the first field (field[0]) of the feature report. However, a device can specify HID_DG_INPUTMODE in a different field. If HID_DG_INPUTMODE is in a field other than the first one and the first field has a report_count smaller than the usage_index of HID_DG_INPUTMODE, this leads to an out-of-bounds write to r->field[0]->value. Fix this by storing the field index of HID_DG_INPUTMODE in 'struct hid_data' during feature mapping. In wacom_hid_set_device_mode(), use this stored field index to access the correct field and add bounds checks to ensure both the field index and the value index are within valid ranges before writing.
Affected versions
All Linux kernel vulnerabilities →
- 7.1-rc5This version only
- 7.1-rc4This version only
- 7.1-rc3This version only
- 7.1-rc2This version only
- 7.1-rc1This version only
- ≥ 6.19, < 7.0.12Fixed in 7.0.12
- ≥ 6.13, < 6.18.35Fixed in 6.18.35
- ≥ 6.7, < 6.12.93Fixed in 6.12.93
- ≥ 6.2, < 6.6.143Fixed in 6.6.143
- ≥ 5.16, < 6.1.176Fixed in 6.1.176
- ≥ 5.11, < 5.15.210Fixed in 5.15.210
- ≥ 3.18, < 5.10.259Fixed in 5.10.259
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2add311d99646c9d235b2c44f9c169ba30f5db3a · Patch
- git.kernel.org/stable/c/43e7c02d6090a82fd60d63491f6871aec906345e · Patch
- git.kernel.org/stable/c/5716a293fb19d382ca2336e08fd28a619a5f3c25 · Patch
- git.kernel.org/stable/c/5db3fca0cec7b33bc5379411d0a60d792c9f9bc0 · Patch
- git.kernel.org/stable/c/83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf · Patch
- git.kernel.org/stable/c/b8338111e14183972359009c12d0dbd81d2e1e16 · Patch
- git.kernel.org/stable/c/c0a8899e02ddebd51e2589835182c239c2e224ae · Patch
- git.kernel.org/stable/c/ed598de9f61582902406d352d99f2073d8e00298 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.