← Database

CVE-2022-50514

MEDIUM CVSS: 5.5 Published: 2025-10-07 Modified: 2026-06-17

Description

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

NVD-CWE-Other

References