{"id":"CVE-2026-99491","summary":"HID: wacom: Fix Use-After-Free in wacom_intuos_pad","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Fix Use-After-Free in wacom_intuos_pad\n\nwacom_intuos_pad() accesses wacom-\u003eshared-\u003etouch_input locklessly\ninside the interrupt handler context.  If the Touch sibling device\nis disconnected, wacom_remove_shared_data() clears 'touch_input'\noutside any lock, creating a Time-of-Check to Time-of-Use (TOCTOU)\nrace condition where a preempted reader in interrupt context\ndereferences the freed pointer, leading to a Use-After-Free.\n\nResolve this by introducing RCU protection for the touch_input\npointer:\n\n - Annotate 'touch_input' in wacom_shared struct with __rcu\n - Wrap all lockless readers in wacom_wac.c with guard(rcu)() and\n   rcu_dereference() using a unified wacom_report_touch_mute()\n   helper\n - Update writers in wacom_sys.c using rcu_assign_pointer()\n - Call synchronize_rcu() in wacom_remove_shared_data() to ensure\n   all active RCU readers have finished before the input device is\n   freed\n\nAlso wrap wacom_set_shared_values() and touch/pen assignments in\nwacom_add_shared_data() inside the wacom_udev_list_lock to serialize\nconcurrent probe assignments, and verify that 'shared-\u003etouch == hdev'\nbefore setting touch_input to prevent concurrent sibling probe state\ndesynchronization.","modified":"2026-11-19T17:01:25.052760627Z","published":"2026-11-19T14:43:32.157Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99491.json","cna_assigner":"Linux"},"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/1178927ffa54a1f9e52fa4e5974862023237fce6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef32877368a7013c060ef6bd03a30b6da2fe0c41"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef74a8a685e272dbe0d21844c6e70841ccc9b1bc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99491.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99491"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"961794a00eab03f4344b7d5e825e8e789e55da87"},{"fixed":"1178927ffa54a1f9e52fa4e5974862023237fce6"},{"fixed":"ef74a8a685e272dbe0d21844c6e70841ccc9b1bc"},{"fixed":"4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f"},{"fixed":"ef32877368a7013c060ef6bd03a30b6da2fe0c41"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"37a5b5f89fe4e8367fb123b1892d79f0234a2903"}]}],"versions":["v3.13.11","v3.13.10","v3.13.9","v3.13.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99491.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.8"},{"fixed":"3.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.14.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-99491.json"}}],"schema_version":"1.9.2"}