[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dfaf82da-c389-4758-ac2c-102fc418ed41@rowland.harvard.edu>
Date: Wed, 9 Jul 2025 11:23:18 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Benjamin Tissoires <bentiss@...nel.org>
Cc: Jiri Kosina <jikos@...nel.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH 3/3] HID: core: do not bypass hid_hw_raw_request
On Wed, Jul 09, 2025 at 04:51:48PM +0200, Benjamin Tissoires wrote:
> 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.
Don't worry too much about the sanity checks. If they had been in
place, we wouldn't have learned about the bugs in __hid_request()!
Alan Stern
Powered by blists - more mailing lists