{"id":"CVE-2026-99490","state":"PUBLISHED","title":"HID: wacom: Fix Use-After-Free in wacom_bamboo_pad","description":"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->shared->pen 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).","publishedAt":"2026-11-19T14:43:30.996Z","updatedAt":"2026-11-19T14:43:30.996Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"ac81120321a90b052cc50ecc9e38753c9471c75e","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"8e56f274d61a21e7aa0bf4000f839f34dd721fe5","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"3a523ecf9ac3fdd33f5eb31c43937ee44135395b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c","drivers/hid/wacom_wac.c","drivers/hid/wacom_wac.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c","drivers/hid/wacom_wac.c","drivers/hid/wacom_wac.h"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-11-19T14:48:06.147Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99490.json","commit":"783f6d4140a34eaf92c5bfee971cfe497fa6394e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99490","state":"PUBLISHED","datePublished":"2026-11-19T14:43:30.996Z","dateUpdated":"2026-11-19T14:43:30.996Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.418Z"},"containers":{"cna":{"title":"HID: wacom: Fix Use-After-Free in wacom_bamboo_pad","descriptions":[{"lang":"en","value":"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->shared->pen 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)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"ac81120321a90b052cc50ecc9e38753c9471c75e","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"8e56f274d61a21e7aa0bf4000f839f34dd721fe5","versionType":"git"},{"version":"8c97a765467c5d58682e85f103899ec2355fc393","status":"affected","lessThan":"3a523ecf9ac3fdd33f5eb31c43937ee44135395b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c","drivers/hid/wacom_wac.c","drivers/hid/wacom_wac.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c","drivers/hid/wacom_wac.c","drivers/hid/wacom_wac.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7"},{"url":"https://git.kernel.org/stable/c/ac81120321a90b052cc50ecc9e38753c9471c75e"},{"url":"https://git.kernel.org/stable/c/8e56f274d61a21e7aa0bf4000f839f34dd721fe5"},{"url":"https://git.kernel.org/stable/c/3a523ecf9ac3fdd33f5eb31c43937ee44135395b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:43:30.996Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}