HID: wacom: Fix Use-After-Free in wacom_intuos_pad (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.32 % · centile 27 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Fix Use-After-Free in wacom_intuos_pad wacom_intuos_pad() accesses wacom->shared->touch_input locklessly inside the interrupt handler context. If the Touch sibling device is disconnected, wacom_remove_shared_data() clears 'touch_input' outside any lock, creating a Time-of-Check to Time-of-Use (TOCTOU) race condition where a preempted reader in interrupt context dereferences the freed pointer, leading to a Use-After-Free. Resolve this by introducing RCU protection for the touch_input pointer: - Annotate 'touch_input' in wacom_shared struct with __rcu - Wrap all lockless readers in wacom_wac.c with guard(rcu)() and rcu_dereference() using a unified wacom_report_touch_mute() helper - Update writers in wacom_sys.c using rcu_assign_pointer() - Call synchronize_rcu() in wacom_remove_shared_data() to ensure all active RCU readers have finished before the input device is freed Also wrap wacom_set_shared_values() and touch/pen assignments in wacom_add_shared_data() inside the wacom_udev_list_lock to serialize concurrent probe assignments, and verify that 'shared->touch == hdev' before setting touch_input to prevent concurrent sibling probe state desynchronization.
Références
- https://git.kernel.org/stable/c/ddf09302779e6add98c1f2fb4b01ae8e75964cda
- https://git.kernel.org/stable/c/d1dabfbcbc6993baec60925bf4d02d0cd597e479
- https://git.kernel.org/stable/c/e106375d2e34c338a05e1b0a99c281b038fea996
- https://git.kernel.org/stable/c/d7fba097f368001ea094ce8f3470708a901f31e0
- https://git.kernel.org/stable/c/1178927ffa54a1f9e52fa4e5974862023237fce6
- https://git.kernel.org/stable/c/ef74a8a685e272dbe0d21844c6e70841ccc9b1bc
- https://git.kernel.org/stable/c/4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f
- https://git.kernel.org/stable/c/ef32877368a7013c060ef6bd03a30b6da2fe0c41
Références européennes
- ENISA EUVD · EUVD-2026-130166
- GCVE · GCVE-0-2026-99491
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < ddf09302779e6add98c1f2fb4b01ae8e75964cda affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < d1dabfbcbc6993baec60925bf4d02d0cd597e479 affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < e106375d2e34c338a05e1b0a99c281b038fea996 affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < d7fba097f368001ea094ce8f3470708a901f31e0 affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < 1178927ffa54a1f9e52fa4e5974862023237fce6 affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < ef74a8a685e272dbe0d21844c6e70841ccc9b1bc affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < 4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f affectée : ≥ 961794a00eab03f4344b7d5e825e8e789e55da87 < ef32877368a7013c060ef6bd03a30b6da2fe0c41 affectée : 37a5b5f89fe4e8367fb123b1892d79f0234a2903 affectée : ≥ 3.13.8 < 3.14 Autres versions : non affectée |
| Linux · Linux | affectée : 3.14 non affectée : ≥ 0 < 3.14 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
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 |