Vulnerability in Kernel: usb: dwc2: gadget: don't reset gadget's driver->bus
Summary
GSD-2022-1003823: usb: dwc2: gadget: don't reset gadget's driver->bus. Affects Kernel versions < bee8f9808a7e82addfc73a0973b16a8bb684205b. 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 crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The usb: dwc2 module within the Kernel is responsible for handling USB gadget functionality, allowing devices to act as USB peripherals. However, a vulnerability has been identified in the usb: dwc2 module that could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the usb: dwc2 module of the Kernel arises from a flaw in the gadget's driver->bus reset process. This flaw could be exploited by an attacker to manipulate the gadget's driver->bus, potentially leading to unauthorized access, data leakage, or other security breaches. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v4.19.247 through the commit bee8f9808a7e82addfc73a0973b16a8bb684205b.
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 a temporary workaround, users can disable the usb: dwc2 module if it is not essential for their system's functionality. This can be achieved by blacklisting the module or preventing it from loading during system startup. However, it is important to note that this workaround may impact the availability of USB gadget functionality.
Conclusion
In conclusion, a vulnerability has been identified in the usb: dwc2 module of the Kernel, which could potentially lead to security issues. It is crucial to update the Linux Kernel to version v4.19.247 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a critical component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system.
The usb: dwc2 module within the Kernel is responsible for handling USB gadget functionality, allowing devices to act as USB peripherals.
The impact of this vulnerability could include unauthorized access, data leakage, or other security breaches if exploited by an attacker.
Yes, the vulnerability has been fixed in Linux Kernel version v4.19.247 through the commit bee8f9808a7e82addfc73a0973b16a8bb684205b.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.247 or later by following the provided instructions.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.