{"id":"CVE-2026-99491","aliases":["CVE-2026-99491"],"related":[],"kind":"vulnerability","state":"published","title":"HID: wacom: Fix Use-After-Free in wacom_intuos_pad","summary":"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->shared->touch_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->touch == hdev'\nbefore setting touch_input to prevent concurrent sibling probe state\ndesynchronization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->shared->touch_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->touch == hdev'\nbefore setting touch_input to prevent concurrent sibling probe state\ndesynchronization.","source":"cvelist"}],"published":"2026-11-19T14:43:32.157Z","modified":"2026-11-23T08:17:52.127Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"ddf09302779e6add98c1f2fb4b01ae8e75964cda","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"d1dabfbcbc6993baec60925bf4d02d0cd597e479","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"e106375d2e34c338a05e1b0a99c281b038fea996","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"d7fba097f368001ea094ce8f3470708a901f31e0","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"1178927ffa54a1f9e52fa4e5974862023237fce6","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"ef74a8a685e272dbe0d21844c6e70841ccc9b1bc","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f","status":"affected"},{"type":"git","introduced":"961794a00eab03f4344b7d5e825e8e789e55da87","fixed":"ef32877368a7013c060ef6bd03a30b6da2fe0c41","status":"affected"},{"type":"git","version":"37a5b5f89fe4e8367fb123b1892d79f0234a2903","status":"affected"},{"type":"semver","introduced":"3.13.8","fixed":"3.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ddf09302779e6add98c1f2fb4b01ae8e75964cda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1dabfbcbc6993baec60925bf4d02d0cd597e479","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e106375d2e34c338a05e1b0a99c281b038fea996","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7fba097f368001ea094ce8f3470708a901f31e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1178927ffa54a1f9e52fa4e5974862023237fce6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef74a8a685e272dbe0d21844c6e70841ccc9b1bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef32877368a7013c060ef6bd03a30b6da2fe0c41","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99491","url":"https://www.cve.org/CVERecord?id=CVE-2026-99491","licence":"CVE Terms of Use","modified":"2026-11-23T08:03:28.848Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99491","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99491","licence":"Public domain","modified":"2026-11-23T08:17:52.127Z"}],"updatedAt":"2026-11-25T22:59:52.091Z","epss":{"score":0.0032,"percentile":0.27012,"date":"2026-12-01T12:00:22.000Z"}}