android_kernel_sony_sdm845/drivers/input/tablet
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold f0501a3ec8 Input: pegasus_notetaker - fix endpoint sanity check
commit bcfcb7f9b480dd0be8f0df2df17340ca92a03b98 upstream.

The driver was checking the number of endpoints of the first alternate
setting instead of the current one, something which could be used by a
malicious device (or USB descriptor fuzzer) to trigger a NULL-pointer
dereference.

Fixes: 1afca2b66a ("Input: add Pegasus Notetaker tablet driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Martin Kepplinger <martink@posteo.de>
Acked-by: Vladis Dronov <vdronov@redhat.com>
Link: https://lore.kernel.org/r/20191210113737.4016-2-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-29 10:24:39 +01:00
..
acecad.c Input: acecad - stop saving struct usb_device 2016-03-31 13:13:39 -07:00
aiptek.c Input: aiptek - fix endpoint sanity check 2020-01-29 10:24:39 +01:00
gtco.c Input: gtco - fix endpoint sanity check 2020-01-29 10:24:39 +01:00
hanwang.c Input: hanwang - validate number of endpoints before using them 2017-03-30 09:41:23 +02:00
kbtab.c Input: kbtab - sanity check for endpoint type 2019-08-25 10:51:44 +02:00
Kconfig Input: add Pegasus Notetaker tablet driver 2016-06-02 10:00:17 -07:00
Makefile Input: add Pegasus Notetaker tablet driver 2016-06-02 10:00:17 -07:00
pegasus_notetaker.c Input: pegasus_notetaker - fix endpoint sanity check 2020-01-29 10:24:39 +01:00
wacom_serial4.c Input: wacom_serial4 - add support for Wacom ArtPad II tablet 2019-03-13 14:05:01 -07:00