{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49389","id":"CVE-2022-49389","title":"usb: usbip: fix a refcount leak in stub_probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: usbip: fix a refcount leak in stub_probe()\n\nusb_get_dev() is called in stub_device_alloc(). When stub_probe() fails\nafter that, usb_put_dev() needs to be called to release the reference.\n\nFix this by moving usb_put_dev() to sdev_free error path handling.\n\nFind this by code review.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: usbip: fix a refcount leak in stub_probe()\n\nusb_get_dev() is called in stub_device_alloc(). When stub_probe() fails\nafter that, usb_put_dev() needs to be called to release the reference.\n\nFix this by moving usb_put_dev() to sdev_free error path handling.\n\nFind this by code review.","published":"2025-02-26T02:11:22.834Z","updated":"2026-11-17T07:00:26.494654753Z","reserved":"2025-02-26T02:08:31.561Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"6bafee2f18af5e5ac125e42960bc65496d0e56a0","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"f20d2d3b3364ce6525c050a8b6b4c54c8c19674d","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"247d3809e45a34d9e1a3a2bb7012e31ed8b46031","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"2f0ae93ec33c8456cdfbf7876b80403a6318ebce","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"bcbb795a9e78180d74c6ab21518da87e803dfdce","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"51422046be504515eb5a591adf0f424b62f46804","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"8afb048800919d0ab10c57983940eba956339f21","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"11c65408bd0ba1d9cd1307caa38169292de9cdfb","status":"affected","versionType":"git"},{"version":"3ff67445750a84de67faaf52c6e1895cb09f2c56","lessThan":"9ec4cbf1cc55d126759051acfe328d489c5d6e60","status":"affected","versionType":"git"},{"version":"77e7f91231bf63e3c64eb59a2aaf5754eaea2e69","status":"affected","versionType":"git"},{"version":"d0f35e23dafa0185f979d0c70463caa658062264","status":"affected","versionType":"git"},{"version":"3.16.58","lessThan":"3.17","status":"affected","versionType":"semver"},{"version":"3.18.110","lessThan":"3.19","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.19","status":"affected"},{"version":"0","lessThan":"3.19","status":"unaffected","versionType":"semver"},{"version":"4.9.318","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.283","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.247","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.198","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.122","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.47","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.15","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.4","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49389.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49389","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00291,"epssPercentile":0.22033,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49389","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49389","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49389","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49389","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}