Skip to content

HID: wacom: Fix Use-After-Free vulnerabilities and SW_MUTE_DEVICE registration

Lee Jones linux-input lkml stable 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5HID: wacom: Advertise SW_MUTE_DEVICE capability prior to registrationdrivers/hid/wacom_sys.c drivers/hid/wacom_wac.c+77 -140 replies
2/5HID: 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
3/5HID: 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
4/5HID: wacom: Write shared touch initial status only oncedrivers/hid/wacom_sys.c+1 -10 replies
5/5HID: wacom: Setup SW_MUTE_DEVICE according to the order of input registrationdrivers/hid/wacom_wac.c+30 -30 replies

Reviews trailers per patch

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

PatchPing ChengLee Jones
1/5A-b T-b
2/5A-b T-b
3/5A-b T-b
4/5R-b
5/5R-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.10 0/5] HID: wacom: Fix Use-After-Free vulnerabilities and SW_MUTE_DEVICE registration

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

The patches have been adapted to v5.10.y context, the queued res_wacom variable naming in wacom_remove_shared_data(), and explicit locking calls for -std=gnu89 compatibility.

Cc Aaron Skomra <[email protected]>
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 (3):
HID: wacom: Advertise SW_MUTE_DEVICE capability prior to registration
HID: wacom: Fix Use-After-Free in wacom_intuos_pad
HID: wacom: Fix Use-After-Free in wacom_bamboo_pad

Ping Cheng (2):
HID: wacom: Write shared touch initial status only once
HID: wacom: Setup SW_MUTE_DEVICE according to the order of input
registration

 drivers/hid/wacom_sys.c | 126 ++++++++++++++++++++++++++++++++--------
 drivers/hid/wacom_wac.c |  82 ++++++++++++++++++--------
 drivers/hid/wacom_wac.h |   6 +-
 3 files changed, 162 insertions(+), 52 deletions(-)
Signature · 1 line
2.56.0.506.g506a7eabc5-goog