CVE-2022-49389

published 26 Feb 2025 · updated 17 Nov 2026

usb: usbip: fix a refcount leak in stub_probe()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f20d2d3b3364ce6525c050a8b6b4c54c8c19674d, Kernel 3.17, Kernel 3.19 and 16 more.

In the Linux kernel, the following vulnerability has been resolved: usb: usbip: fix a refcount leak in stub_probe() usb_get_dev() is called in stub_device_alloc(). When stub_probe() fails after that, usb_put_dev() needs to be called to release the reference. Fix this by moving usb_put_dev() to sdev_free error path handling. Find this by code review.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=3ff67445750a84de67faaf52c6e1895cb09f2c56 <f20d2d3b3364ce6525c050a8b6b4c54c8c19674d, >=3.16.58 <3.17, >=3.18.110 <3.19, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <11c65408bd0ba1d9cd1307caa38169292de9cdfb, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <247d3809e45a34d9e1a3a2bb7012e31ed8b46031, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <2f0ae93ec33c8456cdfbf7876b80403a6318ebce, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <51422046be504515eb5a591adf0f424b62f46804, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <6bafee2f18af5e5ac125e42960bc65496d0e56a0, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <8afb048800919d0ab10c57983940eba956339f21, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <9ec4cbf1cc55d126759051acfe328d489c5d6e60, >=3ff67445750a84de67faaf52c6e1895cb09f2c56 <bcbb795a9e78180d74c6ab21518da87e803dfdce, =3.19, =77e7f91231bf63e3c64eb59a2aaf5754eaea2e69, =d0f35e23dafa0185f979d0c70463caa658062264f20d2d3b3364ce6525c050a8b6b4c54c8c19674d, 3.17, 3.19, 11c65408bd0ba1d9cd1307caa38169292de9cdfb, 247d3809e45a34d9e1a3a2bb7012e31ed8b46031, 2f0ae93ec33c8456cdfbf7876b80403a6318ebce, 51422046be504515eb5a591adf0f424b62f46804, 6bafee2f18af5e5ac125e42960bc65496d0e56a0, 8afb048800919d0ab10c57983940eba956339f21, 9ec4cbf1cc55d126759051acfe328d489c5d6e60, bcbb795a9e78180d74c6ab21518da87e803dfdce
linux-kernel: Kernel>=3.18.110 <3.19, >=3.19.0 <4.9.318, >=4.10.0 <4.14.283, >=4.15.0 <4.19.247, >=4.20.0 <5.4.198, >=5.11.0 <5.15.47, >=5.16.0 <5.17.15, >=5.18.0 <5.18.4, >=5.5.0 <5.10.122, >=3.16.58 <3.173.19, 4.9.318, 4.14.283, 4.19.247, 5.4.198, 5.15.47, 5.17.15, 5.18.4, 5.10.122, 3.17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49389 severity on Zeptric[![CVE-2022-49389](https://zeptric.io/badge/cve/CVE-2022-49389.svg)](https://zeptric.io/cve/CVE-2022-49389)