{"id":"CVE-2022-49389","aliases":["CVE-2022-49389"],"related":[],"kind":"vulnerability","state":"published","title":"usb: usbip: fix a refcount leak in stub_probe()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: usbip: se corrige una pérdida de recuento de referencias en stub_probe(). Se llama a usb_get_dev() en stub_device_alloc(). Cuando stub_probe() falla después de eso, se debe llamar a usb_put_dev() para liberar la referencia. Corrija esto moviendo usb_put_dev() a la gestión de la ruta de error sdev_free. Encuentre esto mediante la revisión del código.","source":"nvd"}],"published":"2025-02-26T02:11:22.834Z","modified":"2026-06-17T05:17:54.623Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"6bafee2f18af5e5ac125e42960bc65496d0e56a0","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"f20d2d3b3364ce6525c050a8b6b4c54c8c19674d","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"247d3809e45a34d9e1a3a2bb7012e31ed8b46031","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"2f0ae93ec33c8456cdfbf7876b80403a6318ebce","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"bcbb795a9e78180d74c6ab21518da87e803dfdce","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"51422046be504515eb5a591adf0f424b62f46804","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"8afb048800919d0ab10c57983940eba956339f21","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"11c65408bd0ba1d9cd1307caa38169292de9cdfb","status":"affected"},{"type":"git","introduced":"3ff67445750a84de67faaf52c6e1895cb09f2c56","fixed":"9ec4cbf1cc55d126759051acfe328d489c5d6e60","status":"affected"},{"type":"git","version":"77e7f91231bf63e3c64eb59a2aaf5754eaea2e69","status":"affected"},{"type":"git","version":"d0f35e23dafa0185f979d0c70463caa658062264","status":"affected"},{"type":"semver","introduced":"3.16.58","fixed":"3.17","status":"affected"},{"type":"semver","introduced":"3.18.110","fixed":"3.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.19","status":"unaffected"},{"type":"semver","introduced":"4.9.318","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.122","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.47","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.15","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.4","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.16.58","fixed":"3.17"},{"status":"affected","introduced":"3.18.110","fixed":"4.9.318"},{"status":"affected","introduced":"4.10","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.122"},{"status":"affected","introduced":"5.11","fixed":"5.15.47"},{"status":"affected","introduced":"5.16","fixed":"5.17.15"},{"status":"affected","introduced":"5.18","fixed":"5.18.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:41:37.910Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49389","url":"https://www.cve.org/CVERecord?id=CVE-2022-49389","licence":"CVE Terms of Use","modified":"2026-05-23T15:22:01.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49389","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49389","licence":"Public domain","modified":"2026-06-17T05:17:54.623Z"}],"updatedAt":"2026-11-25T22:58:20.492Z","epss":{"score":0.00291,"percentile":0.23281,"date":"2026-12-01T12:00:22.000Z"}}