HID: wacom: Fix OOB write in wacom_hid_set_device_mode() (Linux Linux)

CVE-2026-63916
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.36 % · centile 29 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < 2add311d99646c9d235b2c44f9c169ba30f5db3a ; affected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < 83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf ; affected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < 5716a293fb19d382ca2336e08fd28a619a5f3c25 ; affected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < ed598de9f61582902406d352d99f2073d8e00298 ; affected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < 43e7c02d6090a82fd60d63491f6871aec906345e ; affected 5ae6e89f7409cb5d218bb728326eba9c650d9700 < b8338111e14183972359009c12d0dbd81d2e1e16
Linux · Linuxaffected 3.18 ; unaffected 0 < 3.18 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD