public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] USB: dwc3: qcom: fix NULL-deref on suspend
@ 2023-06-07 10:05 Johan Hovold
  2023-06-07 10:05 ` [PATCH 1/2] " Johan Hovold
  2023-06-07 10:05 ` [PATCH 2/2] USB: dwc3: fix use-after-free on core driver unbind Johan Hovold
  0 siblings, 2 replies; 11+ messages in thread
From: Johan Hovold @ 2023-06-07 10:05 UTC (permalink / raw)
  To: Thinh Nguyen
  Cc: Greg Kroah-Hartman, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Krishna Kurapati, Manivannan Sadhasivam, linux-usb, linux-arm-msm,
	linux-kernel, Johan Hovold

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-09  0:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 10:05 [PATCH 0/2] USB: dwc3: qcom: fix NULL-deref on suspend Johan Hovold
2023-06-07 10:05 ` [PATCH 1/2] " Johan Hovold
2023-06-08 12:49   ` Manivannan Sadhasivam
2023-06-09  0:32   ` Thinh Nguyen
2023-06-07 10:05 ` [PATCH 2/2] USB: dwc3: fix use-after-free on core driver unbind Johan Hovold
2023-06-08 13:02   ` Manivannan Sadhasivam
2023-06-08 13:09     ` Johan Hovold
2023-06-08 13:23       ` Manivannan Sadhasivam
2023-06-08 13:49         ` Johan Hovold
2023-06-08 15:16           ` Manivannan Sadhasivam
2023-06-09  0:33   ` Thinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox