CVE-2026-99491

Source
https://cve.org/CVERecord?id=CVE-2026-99491
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99491.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99491
Downstream
Published
2026-11-19T14:43:32Z
Modified
2026-11-19T17:01:25Z
Summary
HID: wacom: Fix Use-After-Free in wacom_intuos_pad
Details

In the Linux kernel, the following vulnerability has been resolved:

HID: wacom: Fix Use-After-Free in wacom_intuos_pad

wacom_intuos_pad() accesses wacom->shared->touch_input locklessly inside the interrupt handler context. If the Touch sibling device is disconnected, wacom_remove_shared_data() clears 'touch_input' outside any lock, creating a Time-of-Check to Time-of-Use (TOCTOU) race condition where a preempted reader in interrupt context dereferences the freed pointer, leading to a Use-After-Free.

Resolve this by introducing RCU protection for the touch_input pointer:

  • Annotate 'touch_input' in wacom_shared struct with __rcu
  • Wrap all lockless readers in wacom_wac.c with guard(rcu)() and rcu_dereference() using a unified wacom_report_touch_mute() helper
  • Update writers in wacom_sys.c using rcu_assign_pointer()
  • Call synchronize_rcu() in wacom_remove_shared_data() to ensure all active RCU readers have finished before the input device is freed

Also wrap wacom_set_shared_values() and touch/pen assignments in wacom_add_shared_data() inside the wacom_udev_list_lock to serialize concurrent probe assignments, and verify that 'shared->touch == hdev' before setting touch_input to prevent concurrent sibling probe state desynchronization.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99491.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
961794a00eab03f4344b7d5e825e8e789e55da87
Fixed
1178927ffa54a1f9e52fa4e5974862023237fce6
Fixed
ef74a8a685e272dbe0d21844c6e70841ccc9b1bc
Fixed
4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f
Fixed
ef32877368a7013c060ef6bd03a30b6da2fe0c41
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
37a5b5f89fe4e8367fb123b1892d79f0234a2903

Affected versions

v3.*
v3.13.10
v3.13.11
v3.13.8
v3.13.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99491.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.8
Fixed
3.14
Type
ECOSYSTEM
Events
Introduced
3.14.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99491.json"