]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: kbtab - sanity check for endpoint type
authorOliver Neukum <oneukum@suse.com>
Thu, 1 Aug 2019 16:44:25 +0000 (09:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:52:57 +0000 (10:52 +0200)
commitbe5ec202e7a062007bc09c2368b6bf5f1277d35f
treee8f3398bb789a23d3aee5cfdfa8bc61639b2d82d
parent8e73f43b6772a262d1884511f694e0f90c3dfa68
Input: kbtab - sanity check for endpoint type

commit c88090dfc84254fa149174eb3e6a8458de1912c4 upstream.

The driver should check whether the endpoint it uses has the correct
type.

Reported-by: syzbot+c7df50363aaff50aa363@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/tablet/kbtab.c