{"id":"CVE-2026-99489","state":"PUBLISHED","title":"HID: wacom: Redesign shared sibling data lifecycle","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Redesign shared sibling data lifecycle\n\nThe Wacom driver coordinates state between sibling interfaces of\nthe same physical device using a shared structure 'wacom_shared'\ninside 'wacom_hdev_data'.  The driver kept a volatile representative\npointer 'data->dev' pointing to a sibling 'hid_device' for physical\npath comparisons during sibling matching.\n\nThis pointer management is fragile.  When the representative device\nis disconnected, wacom_remove_shared_data() failed to clear/update\n'data->dev', leading to a Use-After-Free vulnerability when\nsubsequent sibling probes dereference the dangling 'data->dev'\npointer.\n\nResolve this issue by redesigning the sibling data lifecycle:\n\n - Eliminate the volatile 'data->dev' representative pointer\n   completely\n - Redesign 'wacom_hdev_data' to store stable static copies of the\n   required attributes upon first allocation: 'phys' path string,\n   'vendor', 'product' IDs and the sibling's 'device_type'\n - Use these static attributes for stable sibling matching in\n   wacom_are_sibling() and wacom_get_hdev_data()\n\nThis ensures sibling matching remains safe and stable even if\nindividual siblings are dynamically added or removed.\n\nTo secure the lifecycle against concurrent probe/disconnect races:\n\n - Switch kref_put() to kref_put_mutex() in\n   wacom_remove_shared_data() to serialize refcount drops with list\n   traversal and lookup\n - Modify wacom_release_shared_data() to assume the list lock is\n   already held\n\nAlso, do not accumulate the 'device_type' capability flag during\nsubsequent sibling probes.  Keeping only the first probed sibling's\ndevice_type exactly preserves the original sibling matching behavior\nwithout introducing side effects.","publishedAt":"2026-11-19T14:43:29.533Z","updatedAt":"2026-11-19T14:43:29.533Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"4eeb0a16f11c72a0a15e793310470418d1c2d3cd","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"321da540c4a2091c0e23b5f4ced0131a1c77d679","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"f1fb9f9087c76bca6de81aa38e1e9c820dc54744","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"480c9cb14ae81f8e112ff83f8778b3d7b9324dc8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","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"]}],"references":["https://git.kernel.org/stable/c/4eeb0a16f11c72a0a15e793310470418d1c2d3cd","https://git.kernel.org/stable/c/321da540c4a2091c0e23b5f4ced0131a1c77d679","https://git.kernel.org/stable/c/f1fb9f9087c76bca6de81aa38e1e9c820dc54744","https://git.kernel.org/stable/c/480c9cb14ae81f8e112ff83f8778b3d7b9324dc8"],"weaknesses":[],"ingestedAt":"2026-11-19T14:48:06.147Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99489.json","commit":"783f6d4140a34eaf92c5bfee971cfe497fa6394e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99489","state":"PUBLISHED","datePublished":"2026-11-19T14:43:29.533Z","dateUpdated":"2026-11-19T14:43:29.533Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.418Z"},"containers":{"cna":{"title":"HID: wacom: Redesign shared sibling data lifecycle","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Redesign shared sibling data lifecycle\n\nThe Wacom driver coordinates state between sibling interfaces of\nthe same physical device using a shared structure 'wacom_shared'\ninside 'wacom_hdev_data'.  The driver kept a volatile representative\npointer 'data->dev' pointing to a sibling 'hid_device' for physical\npath comparisons during sibling matching.\n\nThis pointer management is fragile.  When the representative device\nis disconnected, wacom_remove_shared_data() failed to clear/update\n'data->dev', leading to a Use-After-Free vulnerability when\nsubsequent sibling probes dereference the dangling 'data->dev'\npointer.\n\nResolve this issue by redesigning the sibling data lifecycle:\n\n - Eliminate the volatile 'data->dev' representative pointer\n   completely\n - Redesign 'wacom_hdev_data' to store stable static copies of the\n   required attributes upon first allocation: 'phys' path string,\n   'vendor', 'product' IDs and the sibling's 'device_type'\n - Use these static attributes for stable sibling matching in\n   wacom_are_sibling() and wacom_get_hdev_data()\n\nThis ensures sibling matching remains safe and stable even if\nindividual siblings are dynamically added or removed.\n\nTo secure the lifecycle against concurrent probe/disconnect races:\n\n - Switch kref_put() to kref_put_mutex() in\n   wacom_remove_shared_data() to serialize refcount drops with list\n   traversal and lookup\n - Modify wacom_release_shared_data() to assume the list lock is\n   already held\n\nAlso, do not accumulate the 'device_type' capability flag during\nsubsequent sibling probes.  Keeping only the first probed sibling's\ndevice_type exactly preserves the original sibling matching behavior\nwithout introducing side effects."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"4eeb0a16f11c72a0a15e793310470418d1c2d3cd","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"321da540c4a2091c0e23b5f4ced0131a1c77d679","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"f1fb9f9087c76bca6de81aa38e1e9c820dc54744","versionType":"git"},{"version":"4492efffffeb88d87e7aa74765f3c53b3a7dd40f","status":"affected","lessThan":"480c9cb14ae81f8e112ff83f8778b3d7b9324dc8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/wacom_sys.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","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"]}],"references":[{"url":"https://git.kernel.org/stable/c/4eeb0a16f11c72a0a15e793310470418d1c2d3cd"},{"url":"https://git.kernel.org/stable/c/321da540c4a2091c0e23b5f4ced0131a1c77d679"},{"url":"https://git.kernel.org/stable/c/f1fb9f9087c76bca6de81aa38e1e9c820dc54744"},{"url":"https://git.kernel.org/stable/c/480c9cb14ae81f8e112ff83f8778b3d7b9324dc8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:43:29.533Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}