linux/drivers/input
Soumya Negi b3d80fd27a Input: pegasus-notetaker - check pipe type when probing
Fix WARNING in pegasus_open/usb_submit_urb
Syzbot bug: https://syzkaller.appspot.com/bug?id=bbc107584dcf3262253ce93183e51f3612aaeb13

Warning raised because pegasus_driver submits transfer request for
bogus URB (pipe type does not match endpoint type). Add sanity check at
probe time for pipe value extracted from endpoint descriptor. Probe
will fail if sanity check fails.

Reported-and-tested-by: syzbot+04ee0cb4caccaed12d78@syzkaller.appspotmail.com
Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>
Link: https://lore.kernel.org/r/20230404074145.11523-1-soumya.negi97@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-04-09 19:19:14 -07:00
..
gameport input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joystick Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON 2023-03-19 21:35:19 -07:00
keyboard Input: cap11xx - add support for cap1203, cap1293 and cap1298 2023-02-03 16:52:01 -08:00
misc Input: iqs626a - drop unused device node references 2023-02-03 17:21:04 -08:00
mouse Input: alps - fix compatibility with -funsigned-char 2023-03-19 23:07:04 -07:00
rmi4 Input: synaptics-rmi4 - fix SPI device ID 2023-02-03 16:53:40 -08:00
serio Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix 2023-03-23 18:47:02 -07:00
tablet Input: pegasus-notetaker - check pipe type when probing 2023-04-09 19:19:14 -07:00
touchscreen Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table 2023-03-17 03:24:40 -07:00
apm-power.c
evbug.c Input: evbug - remove an empty comment block 2021-05-24 21:06:39 -07:00
evdev.c Input: evdev - per-client waitgroups 2020-10-06 18:34:15 -07:00
ff-core.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-leds.c
input-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
input-poller.h
input.c Input: Use pm_sleep_ptr() to avoid need for ifdef CONFIG_PM_SLEEP 2023-01-27 14:49:53 -08:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00
Makefile Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00
vivaldi-fmap.c Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00