mirror-linux/drivers/input/mouse
Dmitry Torokhov f9172a0bb5 Input: psmouse - fix OOB access in Elantech protocol
commit 7b63a88bb6 upstream.

The kernel only allocate 5 MT slots; check that transmitted slot ID
falls within the acceptable range.

Link: https://lore.kernel.org/r/ZFnEL91nrT789dbG@google.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-14 11:15:23 +02:00
..
Kconfig
Makefile
alps.c Input: alps - fix compatibility with -funsigned-char 2023-04-06 12:10:50 +02:00
alps.h
amimouse.c
appletouch.c
atarimouse.c
bcm5974.c
byd.c
byd.h
cyapa.c
cyapa.h
cyapa_gen3.c
cyapa_gen5.c
cyapa_gen6.c
cypress_ps2.c
cypress_ps2.h
elan_i2c.h
elan_i2c_core.c
elan_i2c_i2c.c
elan_i2c_smbus.c
elantech.c Input: psmouse - fix OOB access in Elantech protocol 2023-06-14 11:15:23 +02:00
elantech.h
focaltech.c Input: focaltech - use explicitly signed char type 2023-04-06 12:10:50 +02:00
focaltech.h
gpio_mouse.c
hgpk.c Input: hgpk - fix repeated word in a comment 2022-09-08 14:06:23 -07:00
hgpk.h
inport.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
lifebook.c
lifebook.h
logibm.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
logips2pp.c
logips2pp.h
maplemouse.c
navpoint.c
pc110pad.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
psmouse-base.c Input: psmouse - switch to using dev_groups for driver-specific attributes 2022-09-03 12:31:18 -07:00
psmouse-smbus.c
psmouse.h
pxa930_trkball.c
rpcmouse.c
sentelic.c
sentelic.h
sermouse.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
synaptics.c Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode" 2023-02-01 08:34:50 +01:00
synaptics.h
synaptics_i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
synaptics_usb.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
touchkit_ps2.c
touchkit_ps2.h
trackpoint.c
trackpoint.h
vmmouse.c
vmmouse.h
vsxxxaa.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00