# CVE-2022-50162: wifi: libertas: Fix possible refcount leak in if_usb_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-06-18T11:03:17.717Z
- Modified: 2026-06-17T05:22:53.133Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 3.5 (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.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 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.2

## References

- <https://git.kernel.org/stable/c/61b2ec97487399c58ae2e34f250f4884e671799b> (patch)
- <https://git.kernel.org/stable/c/4c8e2f9ce1428e44cb103035eeced7aeb6b80980> (patch)
- <https://git.kernel.org/stable/c/878e7f39803a9ab5bb9766956a7a04351d4bf99d> (patch)
- <https://git.kernel.org/stable/c/97e5d3e46a3a2100253a9717a4df98d68aeb10b8> (patch)
- <https://git.kernel.org/stable/c/d7365590d15bbd9008f424ef043d1778ffe29f42> (patch)
- <https://git.kernel.org/stable/c/00d0c4e59c0f8ad1f86874bb64b220394e687028> (patch)
- <https://git.kernel.org/stable/c/5b92f406a5199b6b01dc664b9226d824ae2835f0> (patch)
- <https://git.kernel.org/stable/c/6fd57e1d120bf13d4dc6c200a7cf914e6347a316> (patch)

## Sources

- CVE List: [CVE-2022-50162](https://www.cve.org/CVERecord?id=CVE-2022-50162), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50162](https://nvd.nist.gov/vuln/detail/CVE-2022-50162), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50162 · Whole record: https://cve.day/CVE-2022-50162.json · Rebuilt by cve.day 2026-11-25T22:58:21.083Z
