[PATCH 0/6] [media] fix missing endpoint sanity checks

From: Johan Hovold
Date: Mon Mar 13 2017 - 08:54:42 EST


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

Johan


Johan Hovold (6):
[media] dib0700: fix NULL-deref at probe
[media] usbvision: fix NULL-deref at probe
[media] cx231xx-cards: fix NULL-deref at probe
[media] cx231xx-audio: fix init error path
[media] cx231xx-audio: fix NULL-deref at probe
[media] gspca: konica: add missing endpoint sanity check

drivers/media/usb/cx231xx/cx231xx-audio.c | 42 +++++++++++++++++--------
drivers/media/usb/cx231xx/cx231xx-cards.c | 45 ++++++++++++++++++++++++---
drivers/media/usb/dvb-usb/dib0700_core.c | 3 ++
drivers/media/usb/gspca/konica.c | 3 ++
drivers/media/usb/usbvision/usbvision-video.c | 9 +++++-
5 files changed, 83 insertions(+), 19 deletions(-)

--
2.12.0