cbcvebase.
CVE-2022-50514
published 2025-10-07

CVE-2022-50514: 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…

PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.15%
4.4th percentile
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

19 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.4-1 (bookworm)linux 6.1.4-1 (bookworm)
linuxlinux
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < 95412c932b3c9e8cc4431dac4fac8fcd80d5498295412c932b3c9e8cc4431dac4fac8fcd80d54982
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < 80dc47e751a837106c09bec73964ff8f7ea280b480dc47e751a837106c09bec73964ff8f7ea280b4
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < e88b89a096af0001bcff6bf7ad2feb1486487173e88b89a096af0001bcff6bf7ad2feb1486487173
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < 9d4a0aca8a75550d3456c8de339a341dc4536ec59d4a0aca8a75550d3456c8de339a341dc4536ec5
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < ba78f7c10606719f702c04a15fb0471507b32d7bba78f7c10606719f702c04a15fb0471507b32d7b
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < 216437dd64fce36791a3b6cc8f8013df36856958216437dd64fce36791a3b6cc8f8013df36856958
linuxlinux>= 21a9476a7ba847e413bf1c144d7c614532aed6dd < 70a3288a7586526315105c699b687d78cd32559a70a3288a7586526315105c699b687d78cd32559a
linuxlinux_kernel>= 0 < 5.10.178-15.10.178-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 3.19 < 4.19.2704.19.270
linuxlinux_kernel>= 4.20 < 5.4.2295.4.229
linuxlinux_kernel>= 5.11 < 5.15.865.15.86
linuxlinux_kernel>= 5.16 < 6.0.166.0.16
linuxlinux_kernel>= 5.5 < 5.10.1635.10.163
linuxlinux_kernel>= 6.1 < 6.1.26.1.2

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.