CVE-2022-50162
JSON

5.5medium

wifi: libertas: Fix possible refcount leak in if_usb_probe()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: Fix possible refcount leak in if_usb_probe() usb_get_dev will be called before lbs_get_firmware_async which means that usb_put_dev need to be called when lbs_get_firmware_async fails.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ce84bb69f50e6f6cfeabc9b965365290f4184417 before 61b2ec97487399c58ae2e34f250f4884e671799b, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 4c8e2f9ce1428e44cb103035eeced7aeb6b80980, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 878e7f39803a9ab5bb9766956a7a04351d4bf99d, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 97e5d3e46a3a2100253a9717a4df98d68aeb10b8, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before d7365590d15bbd9008f424ef043d1778ffe29f42, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 00d0c4e59c0f8ad1f86874bb64b220394e687028, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 5b92f406a5199b6b01dc664b9226d824ae2835f0, from ce84bb69f50e6f6cfeabc9b965365290f4184417 before 6fd57e1d120bf13d4dc6c200a7cf914e6347a316 and 1 more
Not affected: before 3.5, from 4.14.291 up to 4.14.*, from 4.19.256 up to 4.19.*, from 5.4.211 up to 5.4.*, from 5.10.137 up to 5.10.*, from 5.15.61 up to 5.15.*
CVE List
linux linux_kernelfrom 3.5 before 4.14.291, from 4.15 before 4.19.256, from 4.20 before 5.4.211, from 5.5 before 5.10.137, from 5.11 before 5.15.61, from 5.16 before 5.18.18, from 5.19 before 5.19.2NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: Fix possible refcount leak in if_usb_probe() usb_get_dev will be called before lbs_get_firmware_async which means that usb_put_dev need to be called when lbs_get_firmware_async fails.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: libertas: se corrige una posible pérdida de recuento de referencias en if_usb_probe(). usb_get_dev se llamará antes de lbs_get_firmware_async, lo que significa que se debe llamar a usb_put_dev cuando lbs_get_firmware_async falla.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50162 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50162 changed 2026-06-17Public domain