Skip to content
Heist/ feed
High

HID: wacom: Fix OOB write in wacom_hid_set_device_mode()

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-63916

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-63916

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "2add311d99646c9d235b2c44f9c169ba30f5db3a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "83bd8a5756a3c4a413ed8f6253f9eb2821e1ccaf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "5716a293fb19d382ca2336e08fd28a619a5f3c25",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "ed598de9f61582902406d352d99f2073d8e00298",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "43e7c02d6090a82fd60d63491f6871aec906345e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "b8338111e14183972359009c12d0dbd81d2e1e16",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "5db3fca0cec7b33bc5379411d0a60d792c9f9bc0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5ae6e89f7409cb5d218bb728326eba9c650d9700",
        "lessThan": "c0a8899e02ddebd51e2589835182c239c2e224ae",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/hid/wacom_sys.c",
      "drivers/hid/wacom_wac.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.18"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.18",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.259",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.210",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.176",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.143",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.93",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.35",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.12",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/hid/wacom_sys.c",
      "drivers/hid/wacom_wac.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-63916

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#40890 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement