CVE-2026-63916: HID: wacom: Fix OOB write in wacom_hid_set_device_mode()
In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: Fix OOB write in wacomhidsetdevicemode()
wacomhidsetdevicemode() currently assumes that the HIDDGINPUTMODE usage is always located in the first field (field[0]) of the feature report. However, a device can specify HIDDGINPUTMODE in a different field.
If HIDDGINPUTMODE is in a field other than the first one and the first field has a reportcount smaller than the usageindex of HIDDGINPUTMODE, this leads to an out-of-bounds write to r->field[0]->value.
Fix this by storing the field index of HIDDGINPUTMODE in 'struct hiddata' during feature mapping. In wacomhidsetdevicemode(), 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-63916?
The severity of CVE-2026-63916 is rated high with a score of 8.8.
What type of vulnerability is CVE-2026-63916?
CVE-2026-63916 is an out-of-bounds write vulnerability in the wacom_hid_set_device_mode function.
How do I fix CVE-2026-63916?
To fix CVE-2026-63916, update your Linux kernel to the latest version that includes the patch for this vulnerability.
What systems are affected by CVE-2026-63916?
CVE-2026-63916 affects systems running the Linux kernel with the HID: wacom driver.
What are the potential impacts of CVE-2026-63916?
The potential impacts of CVE-2026-63916 include a loss of confidentiality, integrity, and availability due to an out-of-bounds write.