USB dwc3: ep0 NULL Pointer Exception in Linux Kernel
Summary
GSD-2021-1000832: usb: dwc3: ep0: fix NULL pointer exception. Affects Kernel versions < 96b74a99d360235c24052f1d060e64ac53f43528. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The USB subsystem in the Linux Kernel enables communication with USB devices. The dwc3 driver is used for USB 3.0 support. The ep0 endpoint is responsible for control transfers, which are used for device initialization and configuration. However, a vulnerability in the dwc3 driver can lead to a NULL pointer exception in the ep0 endpoint.
Vulnerability Detail
The vulnerability in the dwc3 driver can be triggered when handling certain USB control transfers. A NULL pointer exception occurs when the driver attempts to dereference a NULL pointer, leading to a system crash or potential privilege escalation. An attacker with physical access to the system or the ability to send specially crafted USB control transfers could exploit this vulnerability to crash the system or execute arbitrary code with kernel privileges.
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 known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the patched version.
Conclusion
The USB dwc3: ep0 NULL Pointer Exception vulnerability in the Linux Kernel can lead to system crashes or potential privilege escalation. It is crucial to update the Linux Kernel to version v4.4.273 or later to mitigate this vulnerability. Users can use the Vulert Playground (https://vulert.com/scanner) to check if their system is affected and seek further support from DevNack.com for vulnerability remediation.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a system crash or potential privilege escalation, allowing an attacker to execute arbitrary code with kernel privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
No, this vulnerability requires physical access to the system or the ability to send specially crafted USB control transfers.
There are no known instances of this vulnerability being exploited in the wild.
For further support on vulnerability remediation, you can contact info@devnack.com.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.