HID: wacom: Redesign shared sibling data lifecycle (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.32 % · percentile 27 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Redesign shared sibling data lifecycle The Wacom driver coordinates state between sibling interfaces of the same physical device using a shared structure 'wacom_shared' inside 'wacom_hdev_data'. The driver kept a volatile representative pointer 'data->dev' pointing to a sibling 'hid_device' for physical path comparisons during sibling matching. This pointer management is fragile. When the representative device is disconnected, wacom_remove_shared_data() failed to clear/update 'data->dev', leading to a Use-After-Free vulnerability when subsequent sibling probes dereference the dangling 'data->dev' pointer. Resolve this issue by redesigning the sibling data lifecycle: - Eliminate the volatile 'data->dev' representative pointer completely - Redesign 'wacom_hdev_data' to store stable static copies of the required attributes upon first allocation: 'phys' path string, 'vendor', 'product' IDs and the sibling's 'device_type' - Use these static attributes for stable sibling matching in wacom_are_sibling() and wacom_get_hdev_data() This ensures sibling matching remains safe and stable even if individual siblings are dynamically added or removed. To secure the lifecycle against concurrent probe/disconnect races: - Switch kref_put() to kref_put_mutex() in wacom_remove_shared_data() to serialize refcount drops with list traversal and lookup - Modify wacom_release_shared_data() to assume the list lock is already held Also, do not accumulate the 'device_type' capability flag during subsequent sibling probes. Keeping only the first probed sibling's device_type exactly preserves the original sibling matching behavior without introducing side effects.
References
- https://git.kernel.org/stable/c/27b12280feb489d5d69e5aab438f040f2309f4c7
- https://git.kernel.org/stable/c/4e7a9a00d3912e4cd3fc5c999c06343e96884a99
- https://git.kernel.org/stable/c/904a80e13e5579492b6a180ca00be84491941bbe
- https://git.kernel.org/stable/c/8567f0560af6089af356b586df92c3f1d963628c
- 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
European references
- ENISA EUVD · EUVD-2026-130164
- GCVE · GCVE-0-2026-99489
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 27b12280feb489d5d69e5aab438f040f2309f4c7 affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 4e7a9a00d3912e4cd3fc5c999c06343e96884a99 affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 904a80e13e5579492b6a180ca00be84491941bbe affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 8567f0560af6089af356b586df92c3f1d963628c affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 4eeb0a16f11c72a0a15e793310470418d1c2d3cd affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 321da540c4a2091c0e23b5f4ced0131a1c77d679 affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < f1fb9f9087c76bca6de81aa38e1e9c820dc54744 affected : ≥ 4492efffffeb88d87e7aa74765f3c53b3a7dd40f < 480c9cb14ae81f8e112ff83f8778b3d7b9324dc8 Other versions : unaffected |
| Linux · Linux | affected : 2.6.35 unaffected : ≥ 0 < 2.6.35 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |