Skip to main content
Network Thinking Solutions Logo

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, opts->refcnt has already been incremented so it needs to be decremented to avoid leaving the options structure permanently locked.

All CVEs
CVE-2022-50514Published 10/7/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/7/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.19, < 4.19.270

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.229

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.163

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.86

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.16

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.2

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < 95412c932b3c9e8cc4431dac4fac8fcd80d54982

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < 80dc47e751a837106c09bec73964ff8f7ea280b4

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < e88b89a096af0001bcff6bf7ad2feb1486487173

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < 9d4a0aca8a75550d3456c8de339a341dc4536ec5

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < ba78f7c10606719f702c04a15fb0471507b32d7b

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < 216437dd64fce36791a3b6cc8f8013df36856958

Verify advisory

Source
Linux
Linux
≥ 21a9476a7ba847e413bf1c144d7c614532aed6dd, < 70a3288a7586526315105c699b687d78cd32559a

Verify advisory

Source
Linux
Linux
3.19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.