In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: free the EP4 URB when input setup fails The three controllers that use the EP4 input URB allocate it before checking the endpoint type and before registering the input device. On failure they jump to exit_free_idev, which clears cdev->input_dev but leaves cdev->ep4_in_urb set. The card teardown then calls snd_usb_caiaq_input_free(), which returns early because input_dev is NULL, so the URB is never freed. Release the URB before dropping the input device on the error path.
https://git.kernel.org/stable/c/d21746bafdb8e1a5fc9bdcb86f603d827a500a62
https://git.kernel.org/stable/c/998f6dfb9b2ea14cad586417e23b6614a2c99fdc
https://git.kernel.org/stable/c/6f9cd0e44a576556c59e1591e4432d1e6768d088
https://git.kernel.org/stable/c/5c1bbdfe5331b287c179fe118cb7e6db04c4032b