CVE-2022-50028
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50028 is a stack corruption vulnerability in the Linux kernel's gadgetfs (USB gadget filesystem) subsystem, specifically in the ep_io operation. When wait_for_completion_interruptible() is interrupted after usb_ep_queue() has been called, the code fails to wait for the IRQ to finish, allowing complete() from epio_complete() to corrupt the stack. The vulnerability affects multiple Linux kernel versions: before 4.9.326, 4.10–4.14.291, 4.15–4.19.256, 4.20–5.4.211, 5.5–5.10.138, 5.11–5.15.63, and 5.16–5.19.4. It was published on June 18, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).

Technical details

The root cause is a race condition (CWE-362) in the gadgetfs ep_io path: after usb_ep_queue() submits a USB endpoint request, if the blocking call wait_for_completion_interruptible() is interrupted by a signal, the function returns early without waiting for the associated IRQ handler (epio_complete()) to finish. When the IRQ subsequently fires and calls complete(), it operates on a stack frame that may have already been unwound, resulting in stack memory corruption. Exploitation requires local access with low privileges on a system where the USB gadget filesystem is mounted and in use (Feedly, Kernel Patches).

Impact

Successful exploitation can cause stack corruption in the Linux kernel, leading to a system crash or hang — a denial of service with high availability impact. There is no confidentiality or integrity impact identified, and the vulnerability is locally scoped with no potential for lateral movement or data exfiltration. Systems using USB gadget functionality (e.g., embedded Linux devices, development boards acting as USB peripherals) are most at risk (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.024% (0.000240), indicating very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local, low-privilege access and the presence of an active USB gadget filesystem, which significantly limits the attack surface (Feedly).

Mitigation and workarounds

Patches are available for all affected Linux kernel stable branches: upgrade to versions 4.9.326, 4.14.291, 4.19.256, 5.4.211, 5.10.138, 5.15.63, or 5.19.4 (or later). For systems that cannot be immediately patched, restrict local user access to minimize exploitation risk and monitor USB gadget filesystem interactions. Disabling or unmounting the gadgetfs on systems that do not require USB gadget functionality is an effective workaround. SUSE has issued kernel security advisories addressing this CVE (SUSE Advisory, Kernel Patches).

Community reactions

SUSE has issued multiple kernel security advisories covering CVE-2022-50028 as part of broader Linux kernel update packages (SUSE Advisory). No notable independent researcher commentary or significant social media discussion has been identified for this vulnerability.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management