Skip to content
Heist/ feed
Back to feed
UnratedFix available

ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe 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 paths. Fix this by calling of_node_put() in error handling too.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.33, 5.16.19, 5.17.2
CVEs
CVE-2022-49244
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:04 UTC · Revision 1

Source evidence

ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe

core-osv · Original source

Published 26 Feb 2025, 01:56 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe 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 paths. Fix this by calling of_node_put() in error handling too.

osv:CVE-2022-49244

Kernel

Fixed versions: 5.15.33, 5.16.19, 5.17.2

Complete source record
{
  "id": "acc3acdc6d8820cdaa1db75034b5779ecc3b3d2e2678df95679cac55311cd379",
  "url": "https://osv.dev/vulnerability/CVE-2022-49244",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe 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 paths. Fix this by calling of_node_put() in error handling too.",
    "evidence": "osv:CVE-2022-49244",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "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": "unknown",
    "structured": {
      "id": "CVE-2022-49244",
      "aliases": [
        "CVE-2022-49244"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "286c6f7b28fab19d649c2e1f3bc18fdecdbadfe5"
                },
                {
                  "fixed": "87e04a89c31e792eef62bcba6ebb77fd323d28a1"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d1be8577f0b2f679095d237aaf281dca344f06c4"
                },
                {
                  "fixed": "d5a38629f1aaf397fd471b27e49d55289ddc0656"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4e28491a7a198c668437f2be8a91a76aa52f20eb"
                },
                {
                  "fixed": "1765787ec02e824f4f5e672cf269280a5da09d2f"
                },
                {
                  "fixed": "e45ac7831ff3e2934d58cce319c17c8ec763c95c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.17"
                },
                {
                  "fixed": "5.15.33"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.16.3"
                },
                {
                  "fixed": "5.16.19"
                }
              ]
            }
          ],
          "versions": [
            "v5.15.32",
            "v5.15.31",
            "v5.15.30",
            "v5.15.29",
            "v5.15.28",
            "v5.15.27",
            "v5.15.26",
            "v5.15.25",
            "v5.15.24",
            "v5.15.23",
            "v5.15.22",
            "v5.15.21",
            "v5.15.20",
            "v5.15.19",
            "v5.15.18",
            "v5.15.17",
            "v5.16.18",
            "v5.16.17",
            "v5.16.16",
            "v5.16.15",
            "v5.16.14",
            "v5.16.13",
            "v5.16.12",
            "v5.16.11",
            "v5.16.10",
            "v5.16.9",
            "v5.16.8",
            "v5.16.7",
            "v5.16.6",
            "v5.16.5",
            "v5.16.4",
            "v5.16.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49244.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "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-49244.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.419512112Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1765787ec02e824f4f5e672cf269280a5da09d2f",
        "https://git.kernel.org/stable/c/87e04a89c31e792eef62bcba6ebb77fd323d28a1",
        "https://git.kernel.org/stable/c/d5a38629f1aaf397fd471b27e49d55289ddc0656",
        "https://git.kernel.org/stable/c/e45ac7831ff3e2934d58cce319c17c8ec763c95c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49244.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49244",
        "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-49244.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49244",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 505546,
  "published_at": "2025-02-26T01:56:04.783+00:00"
}