In the Linux kernel, the following vulnerability has been resolved: usb: usbip: fix a refcount leak in stubprobe() usbgetdev() is called in stubdevicealloc(). When stubprobe() fails after that, usbputdev() needs to be called to release the reference. Fix this by moving usbputdev() to sdev_free error path handling. Find this by code review.