# CVE-2022-50294: wifi: libertas: fix memory leak in lbs\_init\_adapter()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-09-15T14:45:50.252Z
- **Modified:** 2026-06-17T05:23:10.337Z

## Who should check

- Anyone running Linux \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 4c102ad59bfa66c0f6662af64fa3b9007b02c20f; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 98e0ff6980c89239d9e5d3da90d791c2383dc23a; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 23b34e08de5c2380414c9d3c33e8235094bcccae; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 9c8f50c7433bdfba1588831c413136ecc3f29f99; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 037f84c0bfae5c436c651d0e804264e2648010ec; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 653d13a73e498d0bb6aeaf689aaa960defa7878b; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< d46c33f667b05c22bc5c5b69aa730349c4b6fe31; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 16a03958618fb91bb1bc7077cf3211055162cc2f
- Anyone running Linux 2.6.26

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: libertas: fix memory leak in lbs\_init\_adapter()

When kfifo\_alloc() failed in lbs\_init\_adapter(), cmd buffer is not
released. Add free memory to processing error path.

## Affected and fixed versions

- Linux: \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 4c102ad59bfa66c0f6662af64fa3b9007b02c20f; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 98e0ff6980c89239d9e5d3da90d791c2383dc23a; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 23b34e08de5c2380414c9d3c33e8235094bcccae; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 9c8f50c7433bdfba1588831c413136ecc3f29f99; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 037f84c0bfae5c436c651d0e804264e2648010ec; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 653d13a73e498d0bb6aeaf689aaa960defa7878b; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< d46c33f667b05c22bc5c5b69aa730349c4b6fe31; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 16a03958618fb91bb1bc7077cf3211055162cc2f (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- Upgrade Linux to 16a03958618fb91bb1bc7077cf3211055162cc2f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50294. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50294.md
Affected: Linux >= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, < 4c102ad59bfa66c0f6662af64fa3b9007b02c20f; >= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, < 98e0ff6980c89239d9e5d3da90d791c2383dc23a; >= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, < 23b34e08de5c2380414c9d3c33e8235094bcccae; >= 7919b89c8276d657976d4d4…
Fixed in: Linux 4c102ad59bfa66c0f6662af64fa3b9007b02c20f, Linux 98e0ff6980c89239d9e5d3da90d791c2383dc23a, Linux 23b34e08de5c2380414c9d3c33e8235094bcccae, Linux 9c8f50c7433bdfba1588831c413136ecc3f29f99, Linux 037f84c0bfae5c436c651d0e804264e2648010ec, Linux 653d13a73e498d0bb6aeaf689aaa960defa7878b, Linux 16a03…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50294 being exploited?

There is no confirmed exploitation: CVE-2022-50294 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50294?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50294?

Linux \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 4c102ad59bfa66c0f6662af64fa3b9007b02c20f; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 98e0ff6980c89239d9e5d3da90d791c2383dc23a; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 23b34e08de5c2380414c9d3c33e8235094bcccae; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 9c8f50c7433bdfba1588831c413136ecc3f29f99; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 037f84c0bfae5c436c651d0e804264e2648010ec; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 653d13a73e498d0bb6aeaf689aaa960defa7878b; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< d46c33f667b05c22bc5c5b69aa730349c4b6fe31; \>= 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3, \< 16a03958618fb91bb1bc7077cf3211055162cc2f; Linux 2.6.26.

### Is there a fix for CVE-2022-50294?

Yes. Fixed in Linux 4c102ad59bfa66c0f6662af64fa3b9007b02c20f, Linux 98e0ff6980c89239d9e5d3da90d791c2383dc23a, Linux 23b34e08de5c2380414c9d3c33e8235094bcccae, Linux 9c8f50c7433bdfba1588831c413136ecc3f29f99, Linux 037f84c0bfae5c436c651d0e804264e2648010ec, Linux 653d13a73e498d0bb6aeaf689aaa960defa7878b, Linux 16a03958618fb91bb1bc7077cf3211055162cc2f. Upgrade Linux to 16a03958618fb91bb1bc7077cf3211055162cc2f or later.

### How do I check if I'm affected by CVE-2022-50294?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4c102ad59bfa66c0f6662af64fa3b9007b02c20f>
- patch: <https://git.kernel.org/stable/c/98e0ff6980c89239d9e5d3da90d791c2383dc23a>
- patch: <https://git.kernel.org/stable/c/23b34e08de5c2380414c9d3c33e8235094bcccae>
- patch: <https://git.kernel.org/stable/c/9c8f50c7433bdfba1588831c413136ecc3f29f99>
- patch: <https://git.kernel.org/stable/c/037f84c0bfae5c436c651d0e804264e2648010ec>
- patch: <https://git.kernel.org/stable/c/653d13a73e498d0bb6aeaf689aaa960defa7878b>
- patch: <https://git.kernel.org/stable/c/d46c33f667b05c22bc5c5b69aa730349c4b6fe31>
- patch: <https://git.kernel.org/stable/c/16a03958618fb91bb1bc7077cf3211055162cc2f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50294>

HTML: <https://flawdb.com/CVE-2022-50294> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50294>
