USBIP Refcount Leak Vulnerability in Linux Kernel
Summary
GSD-2022-1003978: usb: usbip: fix a refcount leak in stub_probe(). Affects Kernel versions >= 3ff67445750a84de67faaf52c6e1895cb09f2c56, < f20d2d3b3364ce6525c050a8b6b4c54c8c19674d. 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. USBIP (USB over IP) is a kernel module that allows USB devices to be shared over a network. It enables remote access to USB devices as if they were connected locally. This vulnerability affects the USBIP module in the Linux Kernel.
Vulnerability Detail
The USBIP module in the Linux Kernel suffers from a refcount leak vulnerability in the stub_probe() function. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with kernel privileges. The issue arises due to improper handling of reference counts when probing USB devices. An attacker could send specially crafted USBIP requests to trigger the refcount leak, leading to resource exhaustion or memory corruption.
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 essential to apply the provided fix by updating the Linux Kernel to a patched version.
Conclusion
The USBIP refcount leak vulnerability in the Linux Kernel can lead to a denial-of-service condition or potential execution of arbitrary code with kernel privileges. It is crucial to update the Linux Kernel to version v4.14.283 or later to mitigate this vulnerability. No known workarounds are available, and it is recommended to apply the provided fix as soon as possible. For additional support, please reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can lead to a denial-of-service (DoS) condition or potential execution of arbitrary code with kernel privileges. An attacker could exploit this vulnerability to disrupt system functionality or gain unauthorized access to sensitive information.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in software.
At the time of this report, there are no known public exploits targeting this vulnerability. However, it is crucial to apply the provided fix to mitigate the risk of potential exploitation.
Yes, this vulnerability can be exploited remotely. An attacker can send specially crafted USBIP requests over a network to trigger the refcount leak and potentially execute arbitrary code or cause a denial-of-service condition.
For further support and assistance with vulnerability remediation, you can contact info@devnack.com. They can provide guidance and help ensure your system is secure.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.