diff options
author | 2025-07-10 16:01:35 +0200 | |
---|---|---|
committer | 2025-07-13 09:53:27 +0200 | |
commit | c2ca42f190b6714d6c481dfd3d9b62ea091c946b (patch) | |
tree | 0d15833871e4d3552a079fd8f35446bbd0ead90d /rust/pin-init/internal | |
parent | HID: core: ensure __hid_request reserves the report ID as the first byte (diff) | |
download | wireguard-linux-c2ca42f190b6714d6c481dfd3d9b62ea091c946b.tar.xz wireguard-linux-c2ca42f190b6714d6c481dfd3d9b62ea091c946b.zip |
HID: core: do not bypass hid_hw_raw_request
hid_hw_raw_request() is actually useful to ensure the provided buffer
and length are valid. Directly calling in the low level transport driver
function bypassed those checks and allowed invalid paramto be used.
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Closes: https://lore.kernel.org/linux-input/c75433e0-9b47-4072-bbe8-b1d14ea97b13@rowland.harvard.edu/
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20250710-report-size-null-v2-3-ccf922b7c4e5@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'rust/pin-init/internal')
0 files changed, 0 insertions, 0 deletions