linux-stable/drivers/input
Johan Hovold ac2ee9ba95 Input: cm109 - validate number of endpoints before using them
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.

Fixes: c04148f915 ("Input: add driver for USB VoIP phones with CM109...")
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org	# 2.6.28
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-03-16 13:56:50 -07:00
..
gameport
joystick Input: iforce - validate number of endpoints before using them 2017-03-16 13:56:45 -07:00
keyboard Subsequent immutable branch between MFD and Input due for the v4.11 merge window 2017-02-15 09:24:23 -08:00
misc Input: cm109 - validate number of endpoints before using them 2017-03-16 13:56:50 -07:00
mouse Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw 2017-03-10 14:37:19 -08:00
rmi4 Input: synaptics-rmi4 - prevent null pointer dereference in f30 2017-03-10 10:22:53 -08:00
serio Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list 2017-03-10 14:15:22 -08:00
tablet Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
touchscreen Merge branch 'next' into for-linus 2017-02-20 15:16:02 -08:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
input-compat.h drivers/input: eliminate INPUT_COMPAT_TEST macro 2016-03-25 16:37:42 -07:00
input-leds.c
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Input: refuse to register absolute devices without absinfo 2017-02-01 10:33:21 -08:00
joydev.c Input: joydev - do not report stale values on first open 2017-02-09 13:29:04 -08:00
Kconfig Input: mousedev - stop offering PS/2 to userspace by default 2017-01-31 11:31:49 -08:00
Makefile Input: synaptics-rmi4 - add support for Synaptics RMI4 devices 2016-03-10 16:02:39 -08:00
matrix-keymap.c Input: matrix-keypad - switch to using generic device properties 2017-01-31 11:31:48 -08:00
mousedev.c
sparse-keymap.c