AZL-114965: CVE-2026-99490 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 wacombamboopad
wacombamboopadpenevent() accesses wacom->shared->pen locklessly relative to wacomremoveshareddata() which nullifies it. This can lead to a Use-After-Free if the sibling device is removed while events are being processed.
Resolve this by introducing RCU protection for pen and touch pointers:
- Annotate 'pen' and 'touch' in wacomshared struct with rcu. - Wrap lockless readers in wacombamboopadpenevent() with rcureadlock() and rcudereference(). - Update writers in wacomsys.c using rcuassignpointer(). - Use rcudereferenceprotected for comparisons under wacomudevlistlock. - Also use rcuaccesspointer in wacomsiblingpending() and wacommodechangework() to avoid warnings (while lockless access in the latter remains a pre-existing issue).