CVE-2022-50514

MEDIUM

Linux Kernel 3.19-6.1.0 Use-After-Free in USB Gadget HID Function

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (23)
linux/Kernel 3.19.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.229linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 3.19
Linux/Linux 21a9476a7ba847e413bf1c144d7c614532aed6dd - 216437dd64fce36791a3b6cc8f8013df36856958
Linux/Linux 21a9476a7ba847e413bf1c144d7c614532aed6dd - 70a3288a7586526315105c699b687d78cd32559a
Linux/Linux 21a9476a7ba847e413bf1c144d7c614532aed6dd - 80dc47e751a837106c09bec73964ff8f7ea280b4
... and 13 more
Published Oct 07, 2025
Tracked Since Feb 18, 2026