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

Johan Hovold posted 2 patches 2 years, 8 months ago
drivers/usb/dwc3/core.c      |  5 +++++
drivers/usb/dwc3/dwc3-qcom.c | 11 ++++++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
[PATCH 0/2] USB: dwc3: qcom: fix NULL-deref on suspend
Posted by Johan Hovold 2 years, 8 months ago
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(-)

-- 
2.39.3