Linux Kernel Refcount Leak Vulnerability in USB/IP Stub Probe Function

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's USB/IP subsystem. The issue arises in the stub_probe() function, where usb_get_dev() is called during the allocation of a stub device. If the stub_probe() function fails, usb_put_dev() must be invoked to release the reference. The vulnerability has been addressed by relocating usb_put_dev() to the error handling path of sdev_free.

Impact

Exploitation of this vulnerability could lead to a refcount leak, potentially causing memory management issues such as use-after-free vulnerabilities.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.