Skip to main content
← All vulnerabilities
CVE-2022-49389

usb: usbip: fix a refcount leak in stub_probe()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.17, 3.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3.16.58 · fixed in 3.17; From 3.18.110 · fixed in 3.19

  • Linux Linux

    3.19

References 9

git.kernel.org