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 <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Peter Hutterer <redacted>
Cc: Ping Cheng <ping.cheng@wacom.com>
Cc: <redacted>
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(-)
--
2.56.0.506.g506a7eabc5-goog