USBIP Refcount Leak Vulnerability in Linux Kernel
Summary
GSD-2022-1003707: usb: usbip: fix a refcount leak in stub_probe(). Affects Kernel versions >= 3ff67445750a84de67faaf52c6e1895cb09f2c56, < 2f0ae93ec33c8456cdfbf7876b80403a6318ebce. 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, software, and user applications. The USBIP (USB over IP) subsystem in the Linux Kernel allows USB devices to be shared over a network. This feature enables remote access to USB devices connected to a server. However, a vulnerability has been discovered in the USBIP subsystem that can lead to a refcount leak in the stub_probe() function.
Vulnerability Detail
The vulnerability in the USBIP subsystem arises from a refcount leak in the stub_probe() function. This function is responsible for probing USB devices on the server side. When a USB device is probed, its reference count should be properly managed to prevent resource leaks. However, due to a coding error, the reference count is not properly decremented in certain scenarios, leading to a refcount leak. An attacker who can trigger this vulnerability could potentially exhaust system resources, resulting in a denial-of-service (DoS) condition. 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 →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The USBIP refcount leak vulnerability in the Linux Kernel can potentially lead to a denial-of-service (DoS) condition. It is recommended to update the Linux Kernel to the latest version available to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The USBIP subsystem in the Linux Kernel allows USB devices to be shared over a network, enabling remote access to USB devices connected to a server.
The impact of the vulnerability is not yet proven, but it could potentially lead to a denial-of-service (DoS) condition by exhausting system resources.
To fix the vulnerability, users should update their Linux Kernel to the latest version available, which includes the fix for this vulnerability.
The updated Linux Kernel source code can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.
Yes, most Linux distributions provide updates for the Linux Kernel, so users can update their distribution to get the fixed version of the kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.