{"id":"CVE-2026-99489","published":"2026-11-19T14:43:29Z","modified":"2026-11-19T14:43:29Z","title":"HID: wacom: Redesign shared sibling data lifecycle","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00174,"percentile":0.06956,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4eeb0a16f11c72a0a15e793310470418d1c2d3cd","tags":[]},{"url":"https://git.kernel.org/stable/c/321da540c4a2091c0e23b5f4ced0131a1c77d679","tags":[]},{"url":"https://git.kernel.org/stable/c/f1fb9f9087c76bca6de81aa38e1e9c820dc54744","tags":[]},{"url":"https://git.kernel.org/stable/c/480c9cb14ae81f8e112ff83f8778b3d7b9324dc8","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.39}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4492efffffeb88d87e7aa74765f3c53b3a7dd40f, < 4eeb0a16f11c72a0a15e793310470418d1c2d3cd",">= 4492efffffeb88d87e7aa74765f3c53b3a7dd40f, < 321da540c4a2091c0e23b5f4ced0131a1c77d679",">= 4492efffffeb88d87e7aa74765f3c53b3a7dd40f, < f1fb9f9087c76bca6de81aa38e1e9c820dc54744",">= 4492efffffeb88d87e7aa74765f3c53b3a7dd40f, < 480c9cb14ae81f8e112ff83f8778b3d7b9324dc8"]},{"vendor":"Linux","product":"Linux","versions":["2.6.35"]}],"euvd":{"id":"EUVD-2026-130164","exploited":false,"provenance":"source"}}