Vulnerability in Kernel package: usb: dwc2: check return value after calling platform_get_resource()

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001585: usb: dwc2: check return value after calling platform_get_resource(). Affects Kernel versions < 8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a crucial component of the Linux operating system, responsible for managing the system's core functionality. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The usb: dwc2 module within the Kernel package handles USB functionality, enabling devices to connect and interact with the system. However, a vulnerability has been identified in this module that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the usb: dwc2 module arises from a failure to check the return value after calling platform_get_resource(). This oversight could allow an attacker to exploit the system by manipulating the USB functionality. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been addressed in the Linux Kernel version v5.4.152 by commit 8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7.

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 version v5.4.152, there is no specific workaround available. It is advised to update to the latest version of the Kernel package.

Conclusion

The vulnerability in the usb: dwc2 module of the Kernel package has been identified and fixed in the Linux Kernel version v5.4.152. It is crucial to update the Kernel package to the latest version to ensure the security and stability of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a fundamental component of the Linux operating system, responsible for managing core system functionality.

The usb: dwc2 module is a part of the Kernel package that handles USB functionality, allowing devices to connect and interact with the system.

The impact of this vulnerability is not yet proven. However, if exploited, it could lead to security issues and potential system compromise.

To fix this vulnerability, update the Linux Kernel package to version v5.4.152 or later.

As the vulnerability has been fixed in the latest version of the Kernel package, updating to the latest version is the recommended solution.

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