AZL-114968: CVE-2026-99491 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: Fix Use-After-Free in wacomintuospad
wacomintuospad() accesses wacom->shared->touchinput locklessly inside the interrupt handler context. If the Touch sibling device is disconnected, wacomremoveshareddata() clears 'touchinput' 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 touchinput pointer:
- Annotate 'touchinput' in wacomshared struct with rcu - Wrap all lockless readers in wacomwac.c with guard(rcu)() and rcudereference() using a unified wacomreporttouchmute() helper - Update writers in wacomsys.c using rcuassignpointer() - Call synchronizercu() in wacomremoveshareddata() to ensure all active RCU readers have finished before the input device is freed
Also wrap wacomsetsharedvalues() and touch/pen assignments in wacomaddshareddata() inside the wacomudevlistlock to serialize concurrent probe assignments, and verify that 'shared->touch == hdev' before setting touchinput to prevent concurrent sibling probe state desynchronization.