USB Gadget Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000923: usb: gadget: clear related members when goto fail. Affects Kernel versions < 70959fa1a003cb7c6ed2fd0e0f887125d08b8bf6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality and interfaces for hardware devices, including USB gadgets. USB gadgets allow devices to act as USB peripherals, enabling communication and data transfer with host systems. However, a vulnerability has been discovered in the USB gadget implementation in the Linux Kernel.

Vulnerability Detail

The vulnerability in the USB gadget implementation arises from a failure to clear related members when encountering a 'goto fail' statement. This oversight can lead to various security issues, although the exact impact and attack plausibility have not been proven. The vulnerability affects versions of the Linux Kernel prior to v4.14.270, and it has been fixed in commit 70959fa1a003cb7c6ed2fd0e0f887125d08b8bf6. It is crucial to update to the fixed version to mitigate the risk of exploitation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the Linux Kernel, there is no specific workaround available. It is recommended to update to the fixed version as soon as possible.

Conclusion

The USB gadget vulnerability in the Linux Kernel can pose security risks to systems utilizing affected versions. It is crucial to update to the fixed version (v4.14.270 or later) to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that forms the core of various Linux distributions. It provides essential functionality and interfaces for hardware devices.

USB gadgets allow devices to act as USB peripherals, enabling communication and data transfer with host systems.

The exact impact of this vulnerability is not yet proven. However, it has the potential to lead to security issues in systems utilizing the affected versions of the Linux Kernel.

To fix the vulnerability, it is necessary to update the Linux Kernel to version v4.14.270 or later. Detailed instructions for updating the kernel can be found in the official documentation.

No, as the vulnerability has been fixed in the Linux Kernel, it is recommended to update to the fixed version instead of relying on workarounds.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback