All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: lee@kernel.org, bpf@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	"Barnabás Pőcze" <pobrn@protonmail.com>,
	"Benoît Sevens" <bsevens@google.com>,
	"Filipe Laíns" <lains@riseup.net>, "He, Bo" <bo.he@intel.com>,
	"K. Y. Srinivasan" <kys@microsoft.com>,
	"Zhang, Jun" <jun.zhang@intel.com>,
	"Andreas Gal" <gal@cs.uni-magdeburg.de>,
	"Andy Shevchenko" <andriy.shevchenko@intel.com>,
	"Bastien Nocera" <hadess@hadess.net>,
	"Benjamin Tissoires" <bentiss@kernel.org>,
	"Charles Wang" <charles.goodix@gmail.com>,
	"Dexuan Cui" <decui@microsoft.com>,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Haiyang Zhang" <haiyangz@microsoft.com>,
	"Jason Gerecke" <jason.gerecke@wacom.com>,
	"Jiangshan Yi" <yijiangshan@kylinos.cn>,
	"Jiri Kosina" <jikos@kernel.org>,
	"Jonathan Cameron" <jic23@kernel.org>,
	linux-hyperv@vger.kernel.org, linux-i2c@vger.kernel.org,
	linux-iio@vger.kernel.org, linux-input@vger.kernel.org,
	"Lopez Casado" <nlopezcasad@logitech.com>,
	"Marcel Holtmann" <marcel@holtmann.org>,
	"message to" <vojtech@ucw.cz>,
	"Michael Bommarito" <michael.bommarito@gmail.com>,
	"Michael Haboustak" <mike-@cinci.rr.com>,
	"Pan Chuang" <panchuang@vivo.com>,
	"Ping Cheng" <ping.cheng@wacom.com>,
	"Rishi Gupta" <gupt21@gmail.com>,
	"Roderick Colenbrander" <roderick.colenbrander@sony.com>,
	"Srinivas Pandruvada" <srinivas.pandruvada@linux.intel.com>,
	"Stefan Achatz" <erazor_de@users.sourceforge.net>,
	"Tianchu Chen" <flynnnchen@tencent.com>,
	"Vojtech Pavlik" <vojtech@suse.cz>,
	"Wei Liu" <wei.liu@kernel.org>,
	"Zhang Lixu" <lixu.zhang@intel.com>
Subject: [PATCH v2 00/10] HID: Fix race conditions, UAFs, and bounds bugs
Date: Fri, 27 Nov 2026 17:06:18 +0000	[thread overview]
Message-ID: <20261127170712.3163443-1-lee@kernel.org> (raw)

These issues were reported by Sashiko.

This v2 series addresses Srinivas Pandruvada's review feedback on
hid-sensor-hub and collects Reviewed-by and Tested-by tags from v1.

v1 => v2:
 - Drop kfree() from sensor_hub_raw_event() and clear hsdev->pending.status before complete() under data->lock in patch 04, per Srinivas Pandruvada's review.
 - Add Hamza Mahfooz's Reviewed-by tag on patch 06.
 - Add Ping Cheng's Reviewed-by and Tested-by tags on patch 08.

Cc: "Barnabás Pőcze" <pobrn@protonmail.com>
Cc: "Benoît Sevens" <bsevens@google.com>
Cc: "Filipe Laíns" <lains@riseup.net>
Cc: "He, Bo" <bo.he@intel.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: "Zhang, Jun" <jun.zhang@intel.com>
Cc: Andreas Gal <gal@cs.uni-magdeburg.de>
Cc: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Bastien Nocera <hadess@hadess.net>
Cc: Benjamin Tissoires <bentiss@kernel.org>
Cc: bpf@vger.kernel.org
Cc: Charles Wang <charles.goodix@gmail.com>
Cc: Dexuan Cui <decui@microsoft.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Jason Gerecke <jason.gerecke@wacom.com>
Cc: Jiangshan Yi <yijiangshan@kylinos.cn>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-hyperv@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: Lopez Casado <nlopezcasad@logitech.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: message to <vojtech@ucw.cz>
Cc: Michael Bommarito <michael.bommarito@gmail.com>
Cc: Michael Haboustak <mike-@cinci.rr.com>
Cc: Pan Chuang <panchuang@vivo.com>
Cc: Ping Cheng <ping.cheng@wacom.com>
Cc: Rishi Gupta <gupt21@gmail.com>
Cc: Roderick Colenbrander <roderick.colenbrander@sony.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Stefan Achatz <erazor_de@users.sourceforge.net>
Cc: Tianchu Chen <flynnnchen@tencent.com>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Wei Liu <wei.liu@kernel.org>
Cc: Zhang Lixu <lixu.zhang@intel.com>

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     | 29 ++++++++++++----
 drivers/hid/wacom_sys.c          |  4 +--
 10 files changed, 150 insertions(+), 72 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


             reply	other threads:[~2026-11-27 17:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 17:06 Lee Jones [this message]
2026-11-27 17:06 ` [PATCH v2 01/10] HID: core: Protect hid->inputs traversal in hid_check_keys_pressed() Lee Jones
2026-11-27 17:06 ` [PATCH v2 02/10] HID: mcp2221: Synchronise rxbuf access against raw_event callback Lee Jones
2026-11-27 17:06 ` [PATCH v2 03/10] HID: logitech-hidpp: Synchronise send_receive_buf against raw events Lee Jones
2026-11-27 17:06 ` [PATCH v2 04/10] HID: sensor-hub: Serialise synchronous read teardown under data->lock Lee Jones
2026-11-27 17:06 ` [PATCH v2 05/10] HID: roccat: pyra: Resolve USB device from parent in actual_profile Lee Jones
2026-11-27 17:06 ` [PATCH v2 06/10] HID: hyperv: Validate VMBus packet and payload bounds on receive Lee Jones
2026-11-27 17:06 ` [PATCH v2 07/10] HID: hid-goodix-spi: Validate package sizes in goodix_hid_irq() Lee Jones
2026-11-27 17:06 ` [PATCH v2 08/10] HID: wacom: Stop HID hardware before releasing resources on mode change Lee Jones
2026-11-27 17:31   ` sashiko-bot
2026-11-27 17:06 ` [PATCH v2 09/10] HID: debug: Hold driver_input_lock while dumping raw report descriptor Lee Jones
2026-11-27 17:06 ` [PATCH v2 10/10] HID: playstation: Cancel DualSense output worker on create failure Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127170712.3163443-1-lee@kernel.org \
    --to=lee@kernel.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=bentiss@kernel.org \
    --cc=bo.he@intel.com \
    --cc=bpf@vger.kernel.org \
    --cc=bsevens@google.com \
    --cc=charles.goodix@gmail.com \
    --cc=decui@microsoft.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=erazor_de@users.sourceforge.net \
    --cc=flynnnchen@tencent.com \
    --cc=gal@cs.uni-magdeburg.de \
    --cc=gupt21@gmail.com \
    --cc=hadess@hadess.net \
    --cc=haiyangz@microsoft.com \
    --cc=jason.gerecke@wacom.com \
    --cc=jic23@kernel.org \
    --cc=jikos@kernel.org \
    --cc=jun.zhang@intel.com \
    --cc=kys@microsoft.com \
    --cc=lains@riseup.net \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lixu.zhang@intel.com \
    --cc=marcel@holtmann.org \
    --cc=michael.bommarito@gmail.com \
    --cc=mike-@cinci.rr.com \
    --cc=nlopezcasad@logitech.com \
    --cc=panchuang@vivo.com \
    --cc=ping.cheng@wacom.com \
    --cc=pobrn@protonmail.com \
    --cc=roderick.colenbrander@sony.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=vojtech@suse.cz \
    --cc=vojtech@ucw.cz \
    --cc=wei.liu@kernel.org \
    --cc=yijiangshan@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.