Skip to content

staging: gigaset: fix crashes on probe

Johan Hovold linux-usb lkml stable 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: gigaset: fix general protection fault on probedrivers/staging/isdn/gigaset/usb-gigaset.c+5 -00 replies
2/3staging: gigaset: fix illegal free on probe errorsdrivers/staging/isdn/gigaset/usb-gigaset.c+1 -50 replies
3/3staging: gigaset: add endpoint-type sanity checkdrivers/staging/isdn/gigaset/usb-gigaset.c+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.24.0