Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 6bafee2f18af5e5ac125e42960bc65496d0e56a0; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before f20d2d3b3364ce6525c050a8b6b4c54c8c19674d; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 247d3809e45a34d9e1a3a2bb7012e31ed8b46031; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 2f0ae93ec33c8456cdfbf7876b80403a6318ebce; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before bcbb795a9e78180d74c6ab21518da87e803dfdce; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 51422046be504515eb5a591adf0f424b62f46804; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 8afb048800919d0ab10c57983940eba956339f21; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 11c65408bd0ba1d9cd1307caa38169292de9cdfb; affected 3ff67445750a84de67faaf52c6e1895cb09f2c56 before 9ec4cbf1cc55d126759051acfe328d489c5d6e60; affected 77e7f91231bf63e3c64eb59a2aaf5754eaea2e69; affected d0f35e23dafa0185f979d0c70463caa658062264; affected 3.16.58 before 3.17; affected 3.18.110 before 3.19 |
| Linux / Linux | affected 3.19; unaffected 0 before 3.19; unaffected 4.9.318 through 4.9.*; unaffected 4.14.283 through 4.14.*; unaffected 4.19.247 through 4.19.*; unaffected 5.4.198 through 5.4.*; unaffected 5.10.122 through 5.10.*; unaffected 5.15.47 through 5.15.*; unaffected 5.17.15 through 5.17.*; unaffected 5.18.4 through 5.18.*; unaffected 5.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0
- https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d
- https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031
- https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce
- https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce
- https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804
- https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21
- https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb
- https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60
ADP enrichment
No English description supplied.
No references supplied.