android_kernel_sony_sdm845/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff LaBundy 3e6fa9e4a7 Input: add bounds checking to input_set_capability()
[ Upstream commit 409353cbe9fe48f6bc196114c442b1cff05a39bc ]

Update input_set_capability() to prevent kernel panic in case the
event code exceeds the bitmap for the given event type.

Suggested-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Link: https://lore.kernel.org/r/20220320032537.545250-1-jeff@labundy.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 08:39:48 +02:00
..
gameport
joystick Input: spaceball - fix parsing of movement data packets 2022-01-05 12:31:25 +01:00
keyboard Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-20 16:21:04 +02:00
misc Input: uinput - avoid FF flush when destroying device 2021-01-23 15:38:17 +01:00
mouse Input: elan_i2c - fix regulator enable count imbalance after suspend/resume 2022-03-08 19:00:59 +01:00
rmi4 Input: synaptics-rmi4 - fix error return code in rmi_driver_probe() 2020-06-03 08:16:39 +02:00
serio Input: i8042 - Fix misplaced backport of "add ASUS Zenbook Flip to noselftest list" 2022-02-16 12:43:52 +01:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:00:34 +01:00
touchscreen Input: touchscreen - avoid bitwise vs logical OR warning 2021-12-22 09:05:15 +01:00
apm-power.c
evbug.c
evdev.c Input: evdev - call input_flush_device() on release(), not flush() 2020-06-03 08:16:38 +02:00
ff-core.c Input: uinput - avoid FF flush when destroying device 2021-01-23 15:38:17 +01:00
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-25 09:51:55 +01:00
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-09 09:50:20 +02:00
input-mt.c
input-polldev.c
input.c Input: add bounds checking to input_set_capability() 2022-05-25 08:39:48 +02:00
joydev.c Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl 2021-07-20 16:20:56 +02:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 12:12:43 +02:00
sparse-keymap.c