CVE-2022-49389
usb: usbip: fix a refcount leak in stub_probe()
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Feb 26, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new medium vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
3ff67445750a84de67faaf52c6e1895cb09f2c56 < 6bafee2f18af5e5ac125e42960bc65496d0e56a0 3ff67445750a84de67faaf52c6e1895cb09f2c56 < f20d2d3b3364ce6525c050a8b6b4c54c8c19674d 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 247d3809e45a34d9e1a3a2bb7012e31ed8b46031 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 2f0ae93ec33c8456cdfbf7876b80403a6318ebce 3ff67445750a84de67faaf52c6e1895cb09f2c56 < bcbb795a9e78180d74c6ab21518da87e803dfdce 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 51422046be504515eb5a591adf0f424b62f46804 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 8afb048800919d0ab10c57983940eba956339f21 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 11c65408bd0ba1d9cd1307caa38169292de9cdfb 3ff67445750a84de67faaf52c6e1895cb09f2c56 < 9ec4cbf1cc55d126759051acfe328d489c5d6e60 77e7f91231bf63e3c64eb59a2aaf5754eaea2e69 d0f35e23dafa0185f979d0c70463caa658062264
Linux / Linux
3.19
References
git.kernel.org: https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0 git.kernel.org: https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d git.kernel.org: https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031 git.kernel.org: https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce git.kernel.org: https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce git.kernel.org: https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804 git.kernel.org: https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21 git.kernel.org: https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb git.kernel.org: https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60