---
id: CVE-2022-49105
title: |-
  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 memor…
summary: |-
  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 memor…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-401
  - CWE-401
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.10.111
  - 'linux_kernel >= 5.11, < 5.15.34'
  - 'linux_kernel >= 5.16, < 5.16.20'
  - 'linux_kernel >= 5.17, < 5.17.3'
patched:
  - linux_kernel 5.17.3
published: '2025-02-26'
updated: '2026-08-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49105'
references:
  - url: 'https://git.kernel.org/stable/c/60f1d3c92dc1ef1026e5b917a329a7fa947da036'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/93498c6e775ae91732a8109dba1bdcd324908f84'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9727912e906762a63c1a667c84731d3427653f88'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ab0fed1fa744173433cfd1dbaf9239f200ded650'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00249
epssPercentile: 0.14414
ingestedAt: '2026-08-13T00:57:22.314Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.10.111`
- `linux_kernel >= 5.11, < 5.15.34`
- `linux_kernel >= 5.16, < 5.16.20`
- `linux_kernel >= 5.17, < 5.17.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.17.3`
