[GIT PULL] HID fixes

From: Jiri Kosina
Date: Fri Jan 21 2022 - 09:17:47 EST


Linus,

please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus

to receive HID fixes for 5.17. Highlights:

=====
- fix for race condition that could lead to NULL pointer dereferences or
UAF during uhid device destruction (Jann Horn)
- contact count handling regression fixes for Wacom devices (Jason
Gerecke)
- fix for handling unnumbered HID reports handling in Google Vivaldi
driver (Dmitry Torokhov)
=====

Thanks.

----------------------------------------------------------------
Dmitry Torokhov (1):
HID: vivaldi: fix handling devices not using numbered reports

Jann Horn (2):
HID: uhid: Fix worker destroying device without any protection
HID: uhid: Use READ_ONCE()/WRITE_ONCE() for ->running

Jason Gerecke (3):
HID: wacom: Reset expected and received contact counts at the same time
HID: wacom: Ignore the confidence flag when a touch is removed
HID: wacom: Avoid using stale array indicies to read contact count

Karl Kurbjun (1):
HID: Ignore battery for Elan touchscreen on HP Envy X360 15t-dr100

Stephen Boyd (1):
HID: vivaldi: Minor cleanups

drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-input.c | 2 ++
drivers/hid/hid-vivaldi.c | 41 ++++++++++++++++++++++++++++++---------
drivers/hid/uhid.c | 49 +++++++++++++++++++++++++++++++++--------------
drivers/hid/wacom_wac.c | 39 +++++++++++++++++++++++++++++++++----
5 files changed, 105 insertions(+), 27 deletions(-)

--
Jiri Kosina
SUSE Labs