CVEvulnerability
CVE-2022-49389
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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 configurations
• linux linux kernel (>= 3.16.58 < 3.17)
• linux linux kernel (>= 3.18.110 < 4.9.318)
• linux linux kernel (>= 4.10 < 4.14.283)
• linux linux kernel (>= 4.15 < 4.19.247)
• linux linux kernel (>= 4.20 < 5.4.198)
• linux linux kernel (>= 5.5 < 5.10.122)
• linux linux kernel (>= 5.11 < 5.15.47)
• linux linux kernel (>= 5.16 < 5.17.15)
• linux linux kernel (>= 5.18 < 5.18.4)
References
- https://git.kernel.org/stable/c/11c65408bd0ba1d9cd1307caa38169292de9cdfb Patch
- https://git.kernel.org/stable/c/247d3809e45a34d9e1a3a2bb7012e31ed8b46031 Patch
- https://git.kernel.org/stable/c/2f0ae93ec33c8456cdfbf7876b80403a6318ebce Patch
- https://git.kernel.org/stable/c/51422046be504515eb5a591adf0f424b62f46804 Patch
- https://git.kernel.org/stable/c/6bafee2f18af5e5ac125e42960bc65496d0e56a0 Patch
- https://git.kernel.org/stable/c/8afb048800919d0ab10c57983940eba956339f21 Patch
- https://git.kernel.org/stable/c/9ec4cbf1cc55d126759051acfe328d489c5d6e60 Patch
- https://git.kernel.org/stable/c/bcbb795a9e78180d74c6ab21518da87e803dfdce Patch
- https://git.kernel.org/stable/c/f20d2d3b3364ce6525c050a8b6b4c54c8c19674d Patch