linux/drivers/input
Johan Hovold f6d8ff7527 Input: pegasus_notetaker - fix endpoint sanity check
commit bcfcb7f9b4 upstream.

The driver was checking the number of endpoints of the first alternate
setting instead of the current one, something which could be used by a
malicious device (or USB descriptor fuzzer) to trigger a NULL-pointer
dereference.

Fixes: 1afca2b66a ("Input: add Pegasus Notetaker tablet driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Martin Kepplinger <martink@posteo.de>
Acked-by: Vladis Dronov <vdronov@redhat.com>
Link: https://lore.kernel.org/r/20191210113737.4016-2-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-29 16:43:20 +01:00
..
gameport
joystick Input: Fix memory leak in psxpad_spi_probe 2019-12-13 08:52:40 +01:00
keyboard Input: nomadik-ske-keypad - fix a loop timeout test 2020-01-27 14:50:07 +01:00
misc Input: pm8xxx-vib - fix handling of separate enable register 2020-01-29 16:43:20 +01:00
mouse
rmi4 Revert "Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers" 2020-01-29 16:43:19 +01:00
serio
tablet Input: pegasus_notetaker - fix endpoint sanity check 2020-01-29 16:43:20 +01:00
touchscreen Input: sur40 - fix interface sanity checks 2020-01-29 16:43:20 +01:00
apm-power.c
evbug.c
evdev.c Input: input_event - fix struct padding on sparc64 2020-01-14 20:07:01 +01:00
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input.c Input: add safety guards to input_set_keycode() 2020-01-14 20:07:01 +01:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c