Vulnerability in Kernel: usb: dwc2: gadget: don't reset gadget's driver->bus

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002895: usb: dwc2: gadget: don't reset gadget's driver->bus. Affects Kernel versions < 172cfc167c8ee6238f24f9c16efd598602af643c. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities and drivers for various devices. One of the components in the Kernel is the usb-dwc2 module, which handles USB functionality. The dwc2 gadget driver within this module allows the system to act as a USB gadget, enabling it to function as a USB device. However, a vulnerability has been discovered in this driver that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the dwc2 gadget driver allows an attacker to reset the gadget's driver->bus, potentially leading to a denial-of-service (DoS) condition or other security implications. By exploiting this vulnerability, an attacker could disrupt the normal operation of the USB gadget, causing system instability or preventing legitimate USB device connections. The impact and attack plausibility of this vulnerability have not been proven yet.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the dwc2 gadget driver of the Kernel could potentially lead to a denial-of-service (DoS) condition or other security implications. It is recommended to update the Linux Kernel to version v5.17.15 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to a denial-of-service (DoS) condition or other security implications. It may disrupt the normal operation of the USB gadget, causing system instability or preventing legitimate USB device connections.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.

Yes, a patch is available in the Linux Kernel version v5.17.15. It is recommended to update to this version or later to fix the vulnerability.

The details regarding remote exploitation of this vulnerability are not provided. However, it is always recommended to keep systems up to date with the latest security patches to mitigate potential risks.

There are no known instances of this vulnerability being exploited at the time of this report. However, it is important to apply the necessary updates to ensure system security.

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