Skip to content

USB: dwc3: qcom: fix NULL-deref on suspend

Johan Hovold linux-arm-msm linux-usb lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: dwc3: qcom: fix NULL-deref on suspenddrivers/usb/dwc3/dwc3-qcom.c+10 -12 replies
2/2USB: dwc3: fix use-after-free on core driver unbinddrivers/usb/dwc3/core.c+5 -06 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchManivannan SadhasivamThinh Nguyen
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] USB: dwc3: qcom: fix NULL-deref on suspend

Some dwc3 glue drivers are currently accessing the driver data of the child core device directly, which is clearly a bad idea as the child may not have probed yet or may have been unbound from its driver.

This series fixes some of the symptoms of these layering violations as fixing the glue drivers properly is going to take a fair bit of work.

Johan

Johan Hovold (2):
USB: dwc3: qcom: fix NULL-deref on suspend
USB: dwc3: fix use-after-free on core driver unbind

 drivers/usb/dwc3/core.c      |  5 +++++
 drivers/usb/dwc3/dwc3-qcom.c | 11 ++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.3