In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_hid: fix refcount leak on error path When failing to allocate report_desc, opts->refcnt has already been incremented so it needs to be decremented to avoid leaving the options structure permanently locked.
Get an AI-powered plain-language explanation of this vulnerability and remediation steps.
Login to generate AI explanation7 reference(s) from NVD