PT-2026-161493
Published
2026-11-19
·
Updated
2026-11-19
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾