]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: ims-pcu - sanity check against missing interfaces
authorOliver Neukum <oneukum@suse.com>
Thu, 17 Mar 2016 21:00:17 +0000 (14:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 14:33:48 +0000 (07:33 -0700)
commitcadaf14c349dfd9dae5113a53f0d7f6d49b9d4ef
tree5ce970c94bab6183f0c75fe2788055455967d6b7
parent2c84af5604ae7bb60f2709da908a81e63394b0ed
Input: ims-pcu - sanity check against missing interfaces

commit a0ad220c96692eda76b2e3fd7279f3dcd1d8a8ff upstream.

A malicious device missing interface can make the driver oops.
Add sanity checking.

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/misc/ims-pcu.c