{"id":"CVE-2026-99490","summary":"HID: wacom: Fix Use-After-Free in wacom_bamboo_pad","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Fix Use-After-Free in wacom_bamboo_pad\n\nwacom_bamboo_pad_pen_event() accesses wacom-\u003eshared-\u003epen locklessly\nrelative to wacom_remove_shared_data() which nullifies it.  This\ncan lead to a Use-After-Free if the sibling device is removed while\nevents are being processed.\n\nResolve this by introducing RCU protection for pen and touch\npointers:\n\n - Annotate 'pen' and 'touch' in wacom_shared struct with __rcu.\n - Wrap lockless readers in wacom_bamboo_pad_pen_event() with\n   rcu_read_lock() and rcu_dereference().\n - Update writers in wacom_sys.c using rcu_assign_pointer().\n - Use rcu_dereference_protected for comparisons under\n   wacom_udev_list_lock.\n - Also use rcu_access_pointer in wacom_sibling_pending() and\n   wacom_mode_change_work() to avoid warnings (while lockless access in\n   the latter remains a pre-existing issue).","modified":"2026-11-19T17:01:24.623929631Z","published":"2026-11-19T14:43:30.996Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99490.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a523ecf9ac3fdd33f5eb31c43937ee44135395b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e56f274d61a21e7aa0bf4000f839f34dd721fe5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac81120321a90b052cc50ecc9e38753c9471c75e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99490.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99490"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8c97a765467c5d58682e85f103899ec2355fc393"},{"fixed":"6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7"},{"fixed":"ac81120321a90b052cc50ecc9e38753c9471c75e"},{"fixed":"8e56f274d61a21e7aa0bf4000f839f34dd721fe5"},{"fixed":"3a523ecf9ac3fdd33f5eb31c43937ee44135395b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99490.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.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-99490.json"}}],"schema_version":"1.9.2"}