Linux kernel bug fix: usb: dwc3: gadget: Free gadget structure only after freeing endpoints
Subsystem: usb (drivers/usb/dwc3/gadget.c)
Bug type: use-after-free, severity: high
Keywords: use after free
Files changed: drivers/usb/dwc3/gadget.c
Introduced by Peter Chen on 2020-10-02 09:57:42 +0300; fixed by Jack Pham on 2021-05-10 14:52:23 +0200 (lifetime: 220 days)