{"id":"AZL-114962","summary":"CVE-2026-99489 affecting package kernel 6.6.161.1-1","details":"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-\u003edev' 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-\u003edev', leading to a Use-After-Free vulnerability when\nsubsequent sibling probes dereference the dangling 'data-\u003edev'\npointer.\n\nResolve this issue by redesigning the sibling data lifecycle:\n\n - Eliminate the volatile 'data-\u003edev' 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.","modified":"2026-11-20T14:17:19.270413595Z","published":"2026-11-19T15:18:03Z","upstream":["CVE-2026-99489"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99489"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114962.json"}}],"schema_version":"1.9.2"}