diff options
| author | 2026-05-22 10:29:26 -0700 | |
|---|---|---|
| committer | 2026-06-06 21:05:14 -0700 | |
| commit | baf56975806534268e24acf9a8abb1c447ce11e9 (patch) | |
| tree | 595dbcd76db07081ac8b2475a4989310c7d33d5e /tools/lib/python/kdoc/python_version.py | |
| parent | Input: ims-pcu - fix race condition in reset_device sysfs callback (diff) | |
Input: ims-pcu - validate control endpoint type
The driver currently assumes that the first endpoint of the control
interface is an interrupt IN endpoint without verifying it. A malicious
device could provide a different endpoint type, which would then be
passed to usb_fill_int_urb(), potentially leading to kernel warnings
or undefined behavior.
Verify that the control endpoint is an interrupt IN endpoint.
Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver")
Cc: stable@vger.kernel.org
Reported-by: Sashiko bot <sashiko-bot@kernel.org>
Assisted-by: Gemini:gemini-3.1-pro
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
