android_kernel_samsung_a7y1.../drivers/input
Pan Bian 6118a1048d Input: cyttsp4_core - fix use after free bug
[ Upstream commit 79aae6acbef16f720a7949f8fc6ac69816c79d62 ]

The device md->input is used after it is released. Setting the device
data to NULL is unnecessary as the device is never used again. Instead,
md->input should be assigned NULL to avoid accessing the freed memory
accidently. Besides, checking md->si against NULL is superfluous as it
points to a variable address, which cannot be NULL.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/1572936379-6423-1-git-send-email-bianpan2016@163.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:44:06 +02:00
..
gameport A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
joystick Input: iforce - add sanity checks 2020-04-06 20:48:39 +02:00
keyboard Input: imx_keypad - make sure keyboard can always wake up system 2020-04-06 19:26:13 +02:00
misc Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD 2020-04-06 19:16:18 +02:00
mouse Input: psmouse - fix build error of multiple definition 2020-04-06 20:50:06 +02:00
serio parisc: Fix HP SDC hpa address output 2020-04-07 12:41:10 +02:00
tablet Input: kbtab - sanity check for endpoint type 2020-04-06 20:48:36 +02:00
touchscreen Input: cyttsp4_core - fix use after free bug 2020-04-07 12:44:06 +02:00
wacom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm-power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evbug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-memless.c Input: ff-memless - kill timer in destroy() 2020-04-07 12:23:36 +02:00
input-compat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-compat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-leds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-mt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-polldev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
joydev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keycombo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keyreset.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
matrix-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mousedev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_cmd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm_v2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparse-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30