CVE-2026-99490
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Fix Use-After-Free in wacom_bamboo_pad wacom_bamboo_pad_pen_event() accesses wa…
Impact
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Fix Use-After-Free in wacom_bamboo_pad wacom_bamboo_pad_pen_event() accesses wacom->shared->pen locklessly relative to wacom_remove_shared_data() 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 wacom_shared struct with __rcu. - Wrap lockless readers in wacom_bamboo_pad_pen_event() with rcu_read_lock() and rcu_dereference(). - Update writers in wacom_sys.c using rcu_assign_pointer(). - Use rcu_dereference_protected for comparisons under wacom_udev_list_lock. - Also use rcu_access_pointer in wacom_sibling_pending() and wacom_mode_change_work() to avoid warnings (while lockless access in the latter remains a pre-existing issue).
Affected products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 8c97a765467c5d58682e85f103899ec2355fc393 before 6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7 from 8c97a765467c5d58682e85f103899ec2355fc393 before ac81120321a90b052cc50ecc9e38753c9471c75e from 8c97a765467c5d58682e85f103899ec2355fc393 before 8e56f274d61a21e7aa0bf4000f839f34dd721fe5 from 8c97a765467c5d58682e85f103899ec2355fc393 before 3a523ecf9ac3fdd33f5eb31c43937ee44135395b Versions 4.1, patch: 7.4-rc1 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7
- https://git.kernel.org/stable/c/ac81120321a90b052cc50ecc9e38753c9471c75e
- https://git.kernel.org/stable/c/8e56f274d61a21e7aa0bf4000f839f34dd721fe5
- https://git.kernel.org/stable/c/3a523ecf9ac3fdd33f5eb31c43937ee44135395b
- https://github.com/advisories/GHSA-g9v6-h7qh-hrxh
- https://nvd.nist.gov/vuln/detail/CVE-2026-99490