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

From: Johan Hovold
Date: Wed Jun 07 2023 - 07:17:15 EST


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