USBIP Refcount Leak Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003707: usb: usbip: fix a refcount leak in stub_probe(). Affects Kernel versions >= 3ff67445750a84de67faaf52c6e1895cb09f2c56, < 2f0ae93ec33c8456cdfbf7876b80403a6318ebce. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback