Skip to content

HID: Assorted bug fixes across HID core and drivers

Lee Jones bpf linux-hyperv linux-i2c linux-iio linux-input lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10HID: core: Protect hid->inputs traversal in hid_check_keys_pressed()drivers/hid/hid-core.c+12 -40 replies
2/10HID: mcp2221: Synchronise rxbuf access against raw_event callbackdrivers/hid/hid-mcp2221.c+26 -210 replies
3/10HID: logitech-hidpp: Synchronise send_receive_buf against raw eventsdrivers/hid/hid-logitech-hidpp.c+38 -200 replies
4/10HID: sensor-hub: Serialise synchronous read teardown under data->lockdrivers/hid/hid-sensor-hub.c+21 -71 reply
5/10HID: roccat: pyra: Resolve USB device from parent in actual_profiledrivers/hid/hid-roccat-pyra.c+6 -30 replies
6/10HID: hyperv: Validate VMBus packet and payload bounds on receivedrivers/hid/hid-hyperv.c+12 -00 replies
7/10HID: hid-goodix-spi: Validate package sizes in goodix_hid_irq()drivers/hid/hid-goodix-spi.c+24 -100 replies
8/10HID: wacom: Stop HID hardware before releasing resources on mode changedrivers/hid/wacom_sys.c+2 -20 replies
9/10HID: debug: Hold driver_input_lock while dumping raw report descriptordrivers/hid/hid-debug.c+7 -50 replies
10/10HID: playstation: Cancel DualSense output worker on create failuredrivers/hid/hid-playstation.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] HID: Assorted bug fixes across HID core and drivers

These issues were reported by Sashiko.

None of these changes have been tested on physical hardware.

Cc "Barnabás Pőcze" <[email protected]>
Cc "Benoît Sevens" <[email protected]>
Cc "Filipe Laíns" <[email protected]>
Cc "He, Bo" <[email protected]>
Cc "K. Y. Srinivasan" <[email protected]>
Cc "Zhang, Jun" <[email protected]>
Cc Andreas Gal <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Bastien Nocera <[email protected]>
Cc Benjamin Tissoires <[email protected]>
Cc Charles Wang <[email protected]>
Cc Dexuan Cui <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Cc Haiyang Zhang <[email protected]>
Cc Jason Gerecke <[email protected]>
Cc Jiangshan Yi <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Lopez Casado <[email protected]>
Cc Marcel Holtmann <[email protected]>
Cc Vojtech Pavlik <[email protected]>
Cc Michael Bommarito <[email protected]>
Cc Michael Haboustak <[email protected]>
Cc Pan Chuang <[email protected]>
Cc Ping Cheng <[email protected]>
Cc Rishi Gupta <[email protected]>
Cc Roderick Colenbrander <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
Cc Stefan Achatz <[email protected]>
Cc Tianchu Chen <[email protected]>
Cc Vojtech Pavlik <[email protected]>
Cc Wei Liu <[email protected]>
Cc Zhang Lixu <[email protected]>

Lee Jones (10):
HID: core: Protect hid->inputs traversal in hid_check_keys_pressed()
HID: mcp2221: Synchronise rxbuf access against raw_event callback
HID: logitech-hidpp: Synchronise send_receive_buf against raw events
HID: sensor-hub: Serialise synchronous read teardown under data->lock
HID: roccat: pyra: Resolve USB device from parent in actual_profile
HID: hyperv: Validate VMBus packet and payload bounds on receive
HID: hid-goodix-spi: Validate package sizes in goodix_hid_irq()
HID: wacom: Stop HID hardware before releasing resources on mode
change
HID: debug: Hold driver_input_lock while dumping raw report descriptor
HID: playstation: Cancel DualSense output worker on create failure

 drivers/hid/hid-core.c           | 16 ++++++---
 drivers/hid/hid-debug.c          | 12 ++++---
 drivers/hid/hid-goodix-spi.c     | 34 +++++++++++++------
 drivers/hid/hid-hyperv.c         | 12 +++++++
 drivers/hid/hid-logitech-hidpp.c | 58 +++++++++++++++++++++-----------
 drivers/hid/hid-mcp2221.c        | 47 ++++++++++++++------------
 drivers/hid/hid-playstation.c    |  1 +
 drivers/hid/hid-roccat-pyra.c    |  9 +++--
 drivers/hid/hid-sensor-hub.c     | 28 +++++++++++----
 drivers/hid/wacom_sys.c          |  4 +--
 10 files changed, 149 insertions(+), 72 deletions(-)
Signature · 1 line
2.56.1.750.gf70dc682cf-goog