In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fhid: fix refcount leak on error path When failing to allocate reportdesc, opts->refcnt has already been incremented so it needs to be decremented to avoid leaving the options structure permanently locked.