Skip to content

HID: wacom: Fix Use-After-Free vulnerabilities in Wacom pad handling

Lee Jones linux-input lkml stable 1 version Applied

Status from this message: Queued the series for 5.15, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2HID: wacom: Fix Use-After-Free in wacom_intuos_paddrivers/hid/wacom_sys.c drivers/hid/wacom_wac.c drivers/hid/wacom_wac.h+32 -240 replies
2/2HID: wacom: Fix Use-After-Free in wacom_bamboo_paddrivers/hid/wacom_sys.c drivers/hid/wacom_wac.c drivers/hid/wacom_wac.h+35 -230 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPing Cheng
1/2A-b T-b
2/2A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [STABLE v5.15 0/2] HID: wacom: Fix Use-After-Free vulnerabilities in Wacom pad handling

Backport the remaining two Wacom Use-After-Free fixes to v5.15.y, on top of the five Wacom sibling-lifecycle and SW_MUTE_DEVICE patches already queued in stable-queue (queue-5.15).

Both patches have been adapted to the queued res_wacom variable naming in wacom_remove_shared_data() and use explicit locking calls for -std=gnu89 compatibility.

Cc Benjamin Tissoires <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Peter Hutterer <[email protected]>
Cc Ping Cheng <[email protected]>

Lee Jones (2):
HID: wacom: Fix Use-After-Free in wacom_intuos_pad
HID: wacom: Fix Use-After-Free in wacom_bamboo_pad

 drivers/hid/wacom_sys.c | 50 ++++++++++++++++++++++++++++-------------
 drivers/hid/wacom_wac.c | 50 ++++++++++++++++++++---------------------
 drivers/hid/wacom_wac.h |  6 ++---
 3 files changed, 63 insertions(+), 43 deletions(-)
Signature · 1 line
2.56.0.506.g506a7eabc5-goog