Skip to content
Heist/ feed
Back to feed
MediumFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.111, 5.15.34, 5.16.20, 5.17.3
CVEs
CVE-2022-49105
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:04 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 26 Feb 2025, 01:54 UTC

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.

osv:CVE-2022-49105

Kernel

Fixed versions: 5.10.111, 5.15.34, 5.16.20, 5.17.3

Complete source record
{
  "id": "2203625b62e22e02cdfee0489d29198179f871427a2f0ee72b6456a670a68167",
  "url": "https://osv.dev/vulnerability/CVE-2022-49105",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "staging: wfx: fix an error handling in wfx_init_common()",
    "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 memory leak. And I add one err label to unify the error handler, which is useful for the subsequent changes.",
    "evidence": "osv:CVE-2022-49105",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.111",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.20",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49105",
      "aliases": [
        "CVE-2022-49105"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "354d6ca9d99790e037bf06f093634e851d1253ee"
                },
                {
                  "fixed": "93498c6e775ae91732a8109dba1bdcd324908f84"
                },
                {
                  "fixed": "86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0"
                },
                {
                  "fixed": "ab0fed1fa744173433cfd1dbaf9239f200ded650"
                },
                {
                  "fixed": "9727912e906762a63c1a667c84731d3427653f88"
                },
                {
                  "fixed": "60f1d3c92dc1ef1026e5b917a329a7fa947da036"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49105.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.9.0"
                },
                {
                  "fixed": "5.10.111"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.20"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49105.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.153767739Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/60f1d3c92dc1ef1026e5b917a329a7fa947da036",
        "https://git.kernel.org/stable/c/86efcb524ae1889ae73f2a2f0bb7fff2ec757ab0",
        "https://git.kernel.org/stable/c/93498c6e775ae91732a8109dba1bdcd324908f84",
        "https://git.kernel.org/stable/c/9727912e906762a63c1a667c84731d3427653f88",
        "https://git.kernel.org/stable/c/ab0fed1fa744173433cfd1dbaf9239f200ded650",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49105.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49105",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49105.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49105",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505547,
  "published_at": "2025-02-26T01:54:53.509+00:00"
}