USB: core: Fix hang in usb_kill_urb by adding memory barriers
Summary
GSD-2022-1000616: USB: core: Fix hang in usb_kill_urb by adding memory barriers. Affects Kernel versions < c9a18f7c5b071dce5e6939568829d40994866ab0. 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 that provides core functionality and interfaces with hardware devices. It manages system resources, including memory, processes, and input/output operations. USB (Universal Serial Bus) is a widely used interface for connecting devices to computers. The USB core in the Kernel handles USB device communication and management. This vulnerability affects the USB core functionality in the Kernel.
Vulnerability Detail
The vulnerability in the USB core of the Kernel can lead to a hang in the usb_kill_urb function. This issue arises due to a lack of memory barriers, which can result in incorrect ordering of memory operations. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with elevated privileges. 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 →
Conclusion
The USB core vulnerability in the Kernel has been addressed in the latest version. Users are advised to update their Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could range from a denial-of-service condition to arbitrary code execution with elevated privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes the manifest file like package-lock.json to identify open-source vulnerabilities in the software.
No specific workaround has been provided for this vulnerability. It is recommended to update the Kernel to the latest version.
The vulnerability is present in older versions of the Kernel. It has been fixed in Linux Kernel version v5.16.5.
There is no evidence of active exploitation of this vulnerability at the moment.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.