# CVE-2022-49105: staging: wfx: fix an error handling in wfx_init_common()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:53.509Z
- Modified: 2026-08-13T00:17:27.577Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

staging: wfx: fix an error handling in wfx_init_common()

One error handler of wfx_init_common() return without calling
ieee80211_free_hw(hw), which may result in memory leak. And I add
one err label to unify the error handler, which is useful for the
subsequent changes.

(As written by CVE List.)

## Affected

- Linux Linux: from 354d6ca9d99790e037bf06f093634e851d1253ee before 93498c6e775ae91732a8109dba1bdcd324908f84; from 354d6ca9d99790e037bf06f093634e851d1253ee before 86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0; from 354d6ca9d99790e037bf06f093634e851d1253ee before ab0fed1fa744173433cfd1dbaf9239f200ded650; from 354d6ca9d99790e037bf06f093634e851d1253ee before 9727912e906762a63c1a667c84731d3427653f88; from 354d6ca9d99790e037bf06f093634e851d1253ee before 60f1d3c92dc1ef1026e5b917a329a7fa947da036; 5.9 (not affected: before 5.9; from 5.10.111 up to 5.10.*; from 5.15.34 up to 5.15.*; from 5.16.20 up to 5.16.*; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 5.10.111; from 5.11 before 5.15.34; from 5.16 before 5.16.20; from 5.17 before 5.17.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/93498c6e775ae91732a8109dba1bdcd324908f84> (patch)
- <https://git.kernel.org/stable/c/86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0> (patch)
- <https://git.kernel.org/stable/c/ab0fed1fa744173433cfd1dbaf9239f200ded650> (patch)
- <https://git.kernel.org/stable/c/9727912e906762a63c1a667c84731d3427653f88> (patch)
- <https://git.kernel.org/stable/c/60f1d3c92dc1ef1026e5b917a329a7fa947da036> (patch)

## Sources

- CVE List: [CVE-2022-49105](https://www.cve.org/CVERecord?id=CVE-2022-49105), CVE Terms of Use, modified 2026-08-12
- NVD: [CVE-2022-49105](https://nvd.nist.gov/vuln/detail/CVE-2022-49105), Public domain, modified 2026-08-13

---

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