android_kernel_motorola_sm6375/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 50d1225366 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
[ Upstream commit eb988e46da2e4eae89f5337e047ce372fe33d5b1 ]

The put_device() calls rmi_release_function() which frees "fn" so the
dereference on the next line "fn->num_of_irqs" is a use after free.
Move the put_device() to the end to fix this.

Fixes: 24d28e4f12 ("Input: synaptics-rmi4 - convert irq distribution to irq_domain")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-11-20 10:30:15 +01:00
..
gameport
joystick Input: xpad - add PXN V900 support 2023-10-25 11:53:19 +02:00
keyboard treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
misc Input: powermate - fix use-after-free in powermate_config_complete 2023-10-25 11:53:19 +02:00
mouse Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 11:23:40 +01:00
rmi4 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() 2023-11-20 10:30:15 +01:00
serio Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table 2023-11-08 11:23:40 +01:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:12:07 +01:00
touchscreen Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-05-17 11:35:52 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input-poller.c
input-poller.h
input.c Input: add bounds checking to input_set_capability() 2022-05-25 09:14:32 +02:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c