USB: gadget: Fix use-after-free during usb config switch
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 v6.0.16 by commit 30e926aa835ac2e6ad05822e4cb75833feb0d99f, it was introduced in version v4.20 by commit 0a55187a1ec8c03d0619e7ce41d10fdc39cff036. For more details please see the references link.