linux/drivers/input
Johan Hovold 92461f5d72 Input: sur40 - validate number of endpoints before using them
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer or accessing memory that lie beyond the end of the endpoint
array should a malicious device lack the expected endpoints.

Fixes: bdb5c57f20 ("Input: add sur40 driver for Samsung SUR40... ")
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: stable@vger.kernel.org	# 3.13
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-03-16 13:56:54 -07:00
..
gameport x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
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: yealink - validate number of endpoints before using them 2017-03-16 13:56:52 -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 Input: kbtab - validate number of endpoints before using them 2017-03-16 13:56:53 -07:00
touchscreen Input: sur40 - validate number of endpoints before using them 2017-03-16 13:56:54 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - fix bug in checking duplicate clock change request 2015-10-31 10:35:02 -07:00
ff-core.c Input: document and check on implicitly defined FF_MAX_EFFECTS 2015-10-16 15:32:16 -07:00
ff-memless.c [media] fixp-arith: replace sin/cos table by a better precision one 2015-03-02 14:50:06 -03:00
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: LEDs - skip unnamed LEDs 2015-07-24 09:11:01 -07:00
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: implement managed polled input devices 2014-05-14 16:40:04 -07:00
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