# CVE-2022-50294: wifi: libertas: fix memory leak in lbs_init_adapter()

- 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.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2025-09-15T14:45:50.252Z
- Modified: 2026-06-17T05:23:10.337Z
- Weaknesses: CWE-401
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 4c102ad59bfa66c0f6662af64fa3b9007b02c20f; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 98e0ff6980c89239d9e5d3da90d791c2383dc23a; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 23b34e08de5c2380414c9d3c33e8235094bcccae; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 9c8f50c7433bdfba1588831c413136ecc3f29f99; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 037f84c0bfae5c436c651d0e804264e2648010ec; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 653d13a73e498d0bb6aeaf689aaa960defa7878b; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before d46c33f667b05c22bc5c5b69aa730349c4b6fe31; from 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 before 16a03958618fb91bb1bc7077cf3211055162cc2f; 2.6.26 (not affected: before 2.6.26; from 4.14.308 up to 4.14.*; from 4.19.276 up to 4.19.*; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 2.6.26 before 4.14.308; from 4.15 before 4.19.276; from 4.20 before 5.4.235; from 5.5 before 5.10.173; from 5.11 before 5.15.99; from 5.16 before 6.1.16; from 6.2 before 6.2.3

## References

- <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> (patch)

## Sources

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

---

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