HID: wacom: Fix Use-After-Free in wacom_bamboo_pad
Summary
| CVE | CVE-2026-99490 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-19 15:18:03 UTC |
| Updated | 2026-11-23 08:17:52 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: Fix Use-After-Free in wacom_bamboo_pad
wacom_bamboo_pad_pen_event() accesses wacom->shared->pen locklessly
relative to wacom_remove_shared_data() which nullifies it. This
can lead to a Use-After-Free if the sibling device is removed while
events are being processed.
Resolve this by introducing RCU protection for pen and touch
pointers:
- Annotate 'pen' and 'touch' in wacom_shared struct with __rcu.
- Wrap lockless readers in wacom_bamboo_pad_pen_event() with
rcu_read_lock() and rcu_dereference().
- Update writers in wacom_sys.c using rcu_assign_pointer().
- Use rcu_dereference_protected for comparisons under
wacom_udev_list_lock.
- Also use rcu_access_pointer in wacom_sibling_pending() and
wacom_mode_change_work() to avoid warnings (while lockless access in
the latter remains a pre-existing issue). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 b5c7d12527ba739721e0902b64ff05c568041c24 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 48ecba8b326732cb24f698bd85285ac46471013c git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 21a1e897b98653f0d2d5dc41cadbf3e6a588e1b9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 b893d6b0a8dd71c5f0644f82c15dae8ed732a050 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 ac81120321a90b052cc50ecc9e38753c9471c75e git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 8e56f274d61a21e7aa0bf4000f839f34dd721fe5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8c97a765467c5d58682e85f103899ec2355fc393 3a523ecf9ac3fdd33f5eb31c43937ee44135395b git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.1 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.1 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.61 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.2 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/b893d6b0a8dd71c5f0644f82c15dae8ed732a050 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8e56f274d61a21e7aa0bf4000f839f34dd721fe5 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6704d7e9ca8aa1ec66d97fe1b2bc89e07ad710c7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/48ecba8b326732cb24f698bd85285ac46471013c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b5c7d12527ba739721e0902b64ff05c568041c24 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3a523ecf9ac3fdd33f5eb31c43937ee44135395b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/21a1e897b98653f0d2d5dc41cadbf3e6a588e1b9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ac81120321a90b052cc50ecc9e38753c9471c75e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.