Re: [PATCH v2 0/4] HID: core: fix __hid_request when no report ID is used
From: Benjamin Tissoires <bentiss@kernel.org>
Date: 2025-07-13 07:54:04
Also in:
linux-kselftest, lkml, stable
From: Benjamin Tissoires <bentiss@kernel.org>
Date: 2025-07-13 07:54:04
Also in:
linux-kselftest, lkml, stable
On Thu, 10 Jul 2025 16:01:32 +0200, Benjamin Tissoires wrote:
New version (unchanged for patches 1-3), with a test added so we can detect this. Followup of https://lore.kernel.org/linux-input/c75433e0-9b47-4072-bbe8-b1d14ea97b13@rowland.harvard.edu/ (local) This initial series attempt at fixing the various bugs discovered by Alan regarding __hid_request(). [...]
Applied to hid/hid.git (for-6.16/upstream-fixes), thanks!
[1/4] HID: core: ensure the allocated report buffer can contain the reserved report ID
https://git.kernel.org/hid/hid/c/4f15ee98304b
[2/4] HID: core: ensure __hid_request reserves the report ID as the first byte
https://git.kernel.org/hid/hid/c/0d0777ccaa2d
[3/4] HID: core: do not bypass hid_hw_raw_request
https://git.kernel.org/hid/hid/c/c2ca42f190b6
[4/4] selftests/hid: add a test case for the recent syzbot underflow
https://git.kernel.org/hid/hid/c/3a1d22bd8538
Cheers,
--
Benjamin Tissoires [off-list ref]