CVE-2022-50568Public exploit

Kernel crash via mismatched HID gadget lifetime

Published Oct 22, 2025 · Updated Oct 22, 2025

Use-after-free in the Linux USB HID gadget driver before 6.2 allows local users to crash the kernel by deleting an open gadget. The embedded cdev can outlive its enclosing f_hidg because their lifetimes are not tied, leaving an open /dev/hidgN descriptor referencing freed memory. Triggering the fault requires local access, an open HID gadget device, and permission to remove that gadget through configfs.

CVSS severity5.5
Medium
EPSS probability0.21%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux USB HID gadget driver before 6.2 allows local users to crash the kernel by deleting an open gadget. The embedded cdev can outlive its enclosing f_hidg because their lifetimes are not tied, leaving an open /dev/hidgN descriptor referencing freed memory. Triggering the fault requires local access, an open HID gadget device, and permission to remove that gadget through configfs.

The record

CVE
CVE-2022-50568
Published
Oct 22, 2025
Updated
Oct 22, 2025
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1499
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Oct 22, 2025CVE publishedPublication date reported by the CVE source.
  2. Oct 22, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2.6.35
  2. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <1b6a53e447ec3d81623610c8c7ec5082b47dfdce
  3. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <1cd7f156f6389918f760687fbbf133c86da93162
  4. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <89ff3dfac604614287ad5aad9370c3f984ea3f4b
  5. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <9e08b7f5fa00e9d550851352bd0d1ba74ccffef2
  6. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <9e4b85d815b14bd4db2deea2a54264a23de8b896
  7. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <c78c87c4e389b62f8892af7f59857447aa6d9797
  8. Affected versionversion=71adf118946957839a13aa4d1094183e05c6c094 <d3136b79705c2e3bba9c76adc5628af0215d798e

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2.6.35; version=71adf118946957839a13aa4d1094183e05c6c094 <1b6a53e447ec3d81623610c8c7ec5082b47dfdce; version=71adf118946957839a13aa4d1094183e05c6c094 <1cd7f156f6389918f760687fbbf133c86da93162; version=71adf118946957839a13aa4d1094183e05c6c094 <89ff3dfac604614287ad5aad9370c3f984ea3f4b; version=71adf118946957839a13aa4d1094183e05c6c094 <9e08b7f5fa00e9d550851352bd0d1ba74ccffef2; version=71adf118946957839a13aa4d1094183e05c6c094 <9e4b85d815b14bd4db2deea2a54264a23de8b896; version=71adf118946957839a13aa4d1094183e05c6c094 <c78c87c4e389b62f8892af7f59857447aa6d9797; version=71adf118946957839a13aa4d1094183e05c6c094 <d3136b79705c2e3bba9c76adc5628af0215d798e

Published CVSS scores

5.5SUSECVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

T1499Endpoint Denial of Service

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo