Vulnerability in Kernel: usb: host: ohci-tmio: check return value after calling platform_get_resource()
Summary
GSD-2021-1002294: usb: host: ohci-tmio: check return value after calling platform_get_resource(). Affects Kernel versions < 2474eb7fc3bfbce10f7b8ea431fcffe5dd5f5100. 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 fundamental component of the Linux operating system that manages system resources and provides an interface for software to interact with hardware. It is responsible for tasks such as process management, memory management, and device drivers. The vulnerability in question affects the USB host driver 'ohci-tmio' within the Kernel. This driver is used for controlling USB devices connected to a specific hardware platform. The vulnerability arises from a failure to check the return value after calling the 'platform_get_resource()' function, which can lead to potential security issues.
Vulnerability Detail
The vulnerability in the 'ohci-tmio' USB host driver arises from a lack of proper error handling. Specifically, it fails to check the return value after calling the 'platform_get_resource()' function. This can result in various security risks, although the exact impact and attack plausibility have not been proven. Attackers may potentially exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. It is important to note that this vulnerability has been fixed in the Linux Kernel version v5.10.82 by commit 2474eb7fc3bfbce10f7b8ea431fcffe5dd5f5100.
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 workaround, if updating the Kernel is not immediately feasible, you can mitigate the risk by disabling or disconnecting any USB devices that are not essential for your system's operation. This reduces the potential attack surface for exploiting the vulnerability.
Conclusion
In conclusion, the 'ohci-tmio' USB host driver in the Kernel is vulnerable due to a failure to check the return value after calling the 'platform_get_resource()' function. This can potentially lead to unauthorized access, code execution, or denial-of-service attacks. It is crucial to update the Kernel to version v5.10.82 or later to mitigate this vulnerability. If immediate updating is not possible, disabling non-essential USB devices can reduce the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The exact impact of this vulnerability is not yet proven, but it could potentially allow attackers to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition.
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 to the playground, and it will provide real-time alerts for any open-source vulnerabilities, including this one.
Yes, a patch for this vulnerability is available in the Linux Kernel version v5.10.82. It is recommended to update your Kernel to this version or later to fix the vulnerability.
Yes, you can mitigate the risk by disabling or disconnecting any non-essential USB devices connected to your system. This reduces the potential attack surface for exploiting the vulnerability.
You can find more information about this vulnerability in the GSD-2021-1002294 JSON file available in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002294.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.