[PATCH 0/7] Input: fix NULL-derefs at probe

From: Johan Hovold
Date: Mon Mar 13 2017 - 08:36:29 EST


This series fixes a number of NULL-pointer dereferences due to missing
endpoint sanity checks that can be triggered by a malicious USB device.

Johan


Johan Hovold (7):
Input: iforce - fix NULL-deref at probe
Input: cm109 - fix NULL-deref at probe
Input: ims-pcu - fix NULL-deref at probe
Input: yealink - fix NULL-deref at probe
Input: hanwang - fix NULL-deref at probe
Input: kbtab - fix NULL-deref at probe
Input: sur40 - fix NULL-deref at probe

drivers/input/joystick/iforce/iforce-usb.c | 3 +++
drivers/input/misc/cm109.c | 4 ++++
drivers/input/misc/ims-pcu.c | 4 ++++
drivers/input/misc/yealink.c | 4 ++++
drivers/input/tablet/hanwang.c | 3 +++
drivers/input/tablet/kbtab.c | 3 +++
drivers/input/touchscreen/sur40.c | 3 +++
7 files changed, 24 insertions(+)

--
2.12.0