[PATCH v2 0/3] staging: gigaset: fix crashes on probe

From: Johan Hovold
Date: Mon Dec 02 2019 - 03:56:31 EST


Syzbot has been reporting a GPF on probe in the gigaset ISDN driver,
which have since been moved to staging.

The first patch fixes that issue, and the next one fixes a second crash
found during testing.

The third patch addresses a benign warning in USB core which syzbot is
bound to report once the crashes have been fixed.

Johan


Changes in v2
- use usb_endpoint_is_bulk_out() and friends in patch 3/3, and drop
patch 4/4 which only renamed an identifier.


Johan Hovold (3):
staging: gigaset: fix general protection fault on probe
staging: gigaset: fix illegal free on probe errors
staging: gigaset: add endpoint-type sanity check

drivers/staging/isdn/gigaset/usb-gigaset.c | 23 +++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)

--
2.24.0