Vulnerability in Linux
CVE-2022-49389
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 21.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5.19, 4.19.247, 3ff67445750a84de67faaf52c6e1895cb09f2c56
- Linux Kernel
References
- git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0 (Patch)
- git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d (Patch)
- git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031 (Patch)
- git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce (Patch)
- git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce (Patch)
- git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804 (Patch)
- git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21 (Patch)
- git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb (Patch)
- git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60 (Patch)