CVE-2022-49389
usb: usbip: fix a refcount leak in stub_probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.17, 3.19
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- 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
- stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0
- stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d
- stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031
- stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce
- stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce
- stable/c/51422046be504515eb5a591adf0f424b62f46804
- stable/c/8afb048800919d0ab10c57983940eba956339f21
- stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb
- stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60