USB: dwc3: qcom: fix resource leaks on probe deferral
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | USB: dwc3: qcom: fix resource leaks on probe deferraldrivers/ | +6 | 1 reply | |
| 2/3 | USB: dwc3: qcom: fix software node leak on probe errorsdrivers/ | +8 | 2 replies | |
| 3/3 | USB: dwc3: qcom: fix ACPI platform device leakdrivers/ | +30 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Halaney | Shawn Guo | Heikki Krogerus |
|---|---|---|---|
| 1/3 | A-b | ||
| 2/3 | A-b | A-b | |
| 3/3 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/3] USB: dwc3: qcom: fix resource leaks on probe deferral
When reviewing the recently submitted series which reworks the dwc3 qcom glue implementation [1], I noticed that the driver's tear down handling is currently broken, something which can lead to memory leaks and potentially use-after-free issues on probe deferral and on driver unbind.
Let's get this sorted before reworking driver.
Note that the last patch has only been compile tested as I don't have access to a sdm845 device.
Johan
[1] https://lore.kernel.org/lkml/[email protected]/
Johan Hovold (3):
USB: dwc3: qcom: fix resource leaks on probe deferral
USB: dwc3: qcom: fix software node leak on probe errors
USB: dwc3: qcom: fix ACPI platform device leak
drivers/usb/dwc3/dwc3-qcom.c | 57 +++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 14 deletions(-)
Signature · 1 line
2.41.0