Vulnerability in Kernel: usb: dwc2: gadget: don't reset gadget's driver->bus
Summary
GSD-2022-1002895: usb: dwc2: gadget: don't reset gadget's driver->bus. Affects Kernel versions < 172cfc167c8ee6238f24f9c16efd598602af643c. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.