Keep the FSL controller alive through removal and detach the Nokia
functions from their configuration before dropping their references.

Guangshuo Li (2):
  usb: gadget: fsl_udc: Fix potential use-after-free during removal
  usb: gadget: nokia: Fix potential use-after-free on bind failure

 drivers/usb/gadget/legacy/nokia.c     | 4 ++++
 drivers/usb/gadget/udc/fsl_udc_core.c | 2 ++
 2 files changed, 6 insertions(+)

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.43.0


Reply via email to