USB Gadget Vulnerability in Linux Kernel
Summary
GSD-2022-1000923: usb: gadget: clear related members when goto fail. Affects Kernel versions < 70959fa1a003cb7c6ed2fd0e0f887125d08b8bf6. 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 a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality and interfaces for hardware devices, including USB gadgets. USB gadgets allow devices to act as USB peripherals, enabling communication and data transfer with host systems. However, a vulnerability has been discovered in the USB gadget implementation in the Linux Kernel.
Vulnerability Detail
The vulnerability in the USB gadget implementation arises from a failure to clear related members when encountering a 'goto fail' statement. This oversight can lead to various security issues, although the exact impact and attack plausibility have not been proven. The vulnerability affects versions of the Linux Kernel prior to v4.14.270, and it has been fixed in commit 70959fa1a003cb7c6ed2fd0e0f887125d08b8bf6. It is crucial to update to the fixed version to mitigate the risk of exploitation.
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, there is no specific workaround available. It is recommended to update to the fixed version as soon as possible.
Conclusion
The USB gadget vulnerability in the Linux Kernel can pose security risks to systems utilizing affected versions. It is crucial to update to the fixed version (v4.14.270 or later) to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Linux Kernel is an open-source operating system kernel that forms the core of various Linux distributions. It provides essential functionality and interfaces for hardware devices.
USB gadgets allow devices to act as USB peripherals, enabling communication and data transfer with host systems.
The exact impact of this vulnerability is not yet proven. However, it has the potential to lead to security issues in systems utilizing the affected versions of the Linux Kernel.
To fix the vulnerability, it is necessary to update the Linux Kernel to version v4.14.270 or later. Detailed instructions for updating the kernel can be found in the official documentation.
No, as the vulnerability has been fixed in the Linux Kernel, it is recommended to update to the fixed version instead of relying on workarounds.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.