Bug 2402250 (CVE-2022-50514) - CVE-2022-50514 kernel: usb: gadget: f_hid: fix refcount leak on error path
Summary: CVE-2022-50514 kernel: usb: gadget: f_hid: fix refcount leak on error path
Keywords:
Status: NEW
Alias: CVE-2022-50514
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-07 16:05 UTC by OSIDB Bzimport
Modified: 2025-11-26 12:26 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-07 16:05:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.