VulnerabilityCVE-2022-50514DEBIAN-CVE-2022-50514UBUNTU-CVE-2022-50514WID-SEC-W-2025-2229:CVE-2022-50514
usb: gadget: f_hid: fix refcount leak on error path
Not on CISA KEV
Summary
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.
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- Debian Source: Debian
- Ubuntu Source: Ubuntu