[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230607100540.31045-1-johan+linaro@kernel.org>
Date: Wed, 7 Jun 2023 12:05:38 +0200
From: Johan Hovold <johan+linaro@...nel.org>
To: Thinh Nguyen <Thinh.Nguyen@...opsys.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Krishna Kurapati <quic_kriskura@...cinc.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
linux-usb@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Johan Hovold <johan+linaro@...nel.org>
Subject: [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(-)
--
2.39.3
Powered by blists - more mailing lists