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

Medium 5.5 Published Updated

A refcount leak in the Libertas USB Wi-Fi driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50162?

CVE-2022-50162 is a medium-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2022-50162?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-50162?

Apply the vendor's patch.

Is CVE-2022-50162 being exploited?

There is no known exploitation of CVE-2022-50162 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-50162, GHSA-g3c2-cf4p-fhw2, UBUNTU-CVE-2022-50162.

Is CVE-2022-50162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free