Skip to content
Heist/ feed
Back to feed
MediumFix available

ath10k: Fix error handling in ath10k_setup_msa_resources

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ath10k: Fix error handling in ath10k_setup_msa_resources The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.110, 5.15.33, 5.16.19, 5.17.2
CVEs
CVE-2022-49213
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:25 UTC · Revision 1

Source evidence

ath10k: Fix error handling in ath10k_setup_msa_resources

core-osv · Original source

Published 26 Feb 2025, 01:55 UTC

In the Linux kernel, the following vulnerability has been resolved: ath10k: Fix error handling in ath10k_setup_msa_resources The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.

osv:CVE-2022-49213

Kernel

Fixed versions: 5.10.110, 5.15.33, 5.16.19, 5.17.2

Complete source record
{
  "id": "1708e9d851a0108c69c7e703660ed8943353bb35b98de902dcf8017bed9eed27",
  "url": "https://osv.dev/vulnerability/CVE-2022-49213",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ath10k: Fix error handling in ath10k_setup_msa_resources",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ath10k: Fix error handling in ath10k_setup_msa_resources The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.",
    "evidence": "osv:CVE-2022-49213",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49213",
      "aliases": [
        "CVE-2022-49213"
      ],
      "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": "727fec790ead3d75e2735f66209949c2163523ea"
                },
                {
                  "fixed": "315772133a4b960859e4f5efe0e738e347188cdc"
                },
                {
                  "fixed": "32939187f254171a5666badc058bc3787fe454af"
                },
                {
                  "fixed": "74b1d41e1b6410eed5c76d00eedb262036e9eff5"
                },
                {
                  "fixed": "4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335"
                },
                {
                  "fixed": "9747a78d5f758a5284751a10aee13c30d02bd5f1"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49213.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.8.0"
                },
                {
                  "fixed": "5.10.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49213.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.549138521Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/315772133a4b960859e4f5efe0e738e347188cdc",
        "https://git.kernel.org/stable/c/32939187f254171a5666badc058bc3787fe454af",
        "https://git.kernel.org/stable/c/4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335",
        "https://git.kernel.org/stable/c/74b1d41e1b6410eed5c76d00eedb262036e9eff5",
        "https://git.kernel.org/stable/c/9747a78d5f758a5284751a10aee13c30d02bd5f1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49213.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49213",
        "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-49213.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49213",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492695,
  "published_at": "2025-02-26T01:55:49.176+00:00"
}