usb: dwc3: gadget: Bail from dwc3gadgetexit() if dwc->gadget is NULL
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.12.11 by commit 4aad390363d2b9b3e92428dd34d27bb7ea8f1ee8, it was introduced in version v5.10 by commit e81a7018d93a7de31a3f121c9a7eecd0a5ec58b0. For more details please see the references link.