In the Linux kernel, the following vulnerability has been resolved:
usb: cdns3: change place of 'privep' assignment in cdns3gadgetepdequeue(), cdns3gadgetep_enable()
If 'ep' is NULL, result of eptocdns3ep(ep) is invalid pointer and its dereference with privep->cdns3_dev may cause panic.
Found by Linux Verification Center (linuxtesting.org) with SVACE.