CVE-2022-49389

Source
https://cve.org/CVERecord?id=CVE-2022-49389
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49389.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49389
Downstream
DEBIAN (1)
OESA (1)
RHSA (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-02-26T02:11:22Z
Modified
2026-10-08T02:47:44Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
usb: usbip: fix a refcount leak in stub_probe()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49389.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3ff67445750a84de67faaf52c6e1895cb09f2c56
Fixed
6bafee2f18af5e5ac125e42960bc65496d0e56a0
Fixed
f20d2d3b3364ce6525c050a8b6b4c54c8c19674d
Fixed
247d3809e45a34d9e1a3a2bb7012e31ed8b46031
Fixed
2f0ae93ec33c8456cdfbf7876b80403a6318ebce
Fixed
bcbb795a9e78180d74c6ab21518da87e803dfdce
Fixed
51422046be504515eb5a591adf0f424b62f46804
Fixed
8afb048800919d0ab10c57983940eba956339f21
Fixed
11c65408bd0ba1d9cd1307caa38169292de9cdfb
Fixed
9ec4cbf1cc55d126759051acfe328d489c5d6e60
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3.16.58
Fixed
3.17
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3.18.110
Fixed
3.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77e7f91231bf63e3c64eb59a2aaf5754eaea2e69
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d0f35e23dafa0185f979d0c70463caa658062264

Affected versions

v3.*
v3.16.58
v3.16.59
v3.16.60
v3.16.61
v3.16.62
v3.16.63
v3.16.64
v3.16.65
v3.16.66
v3.16.67
v3.16.68
v3.16.69
v3.16.70
v3.16.71
v3.16.72
v3.16.73
v3.16.74
v3.16.75
v3.16.76
v3.16.77
v3.16.78
v3.16.79
v3.16.80
v3.16.81
v3.16.82
v3.16.83
v3.16.84
v3.16.85
v3.18.110
v3.18.111
v3.18.112
v3.18.113
v3.18.114
v3.18.115
v3.18.116
v3.18.117
v3.18.118
v3.18.119
v3.18.120
v3.18.121
v3.18.122
v3.18.123
v3.18.124
v3.18.125
v3.18.126
v3.18.127
v3.18.128
v3.18.129
v3.18.130
v3.18.131
v3.18.132
v3.18.133
v3.18.134
v3.18.135
v3.18.136
v3.18.137
v3.18.138
v3.18.139
v3.18.140

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49389.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.19.0
Fixed
4.9.318
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.283
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.247
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.198
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.122
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.47
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.15
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49389.json"