CVE-2022-49389
Linux Kernel USBip Refcount Leak Vulnerability
Description
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.
INFO
Published Date :
Feb. 26, 2025, 7:01 a.m.
Last Modified :
April 17, 2025, 8:47 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-49389
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-49389
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-49389
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.198 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.283 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.247 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (excluding) 5.18.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.17.15 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.47 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.16.58 up to (excluding) 3.17 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.18.110 up to (excluding) 4.9.318 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.122 Added Reference Type kernel.org: https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 26, 2025
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb Added Reference https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031 Added Reference https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce Added Reference https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804 Added Reference https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0 Added Reference https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21 Added Reference https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60 Added Reference https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce Added Reference https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-49389
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-49389
weaknesses.