{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "082482a5022780d42180a394fe6843e71fe963d8"
            },
            {
              "fixed": "c652f8f0875b569f8afa80b8cf9762828fd6187b"
            },
            {
              "fixed": "c4b7174fe5bb875a09a78674a14a1589d1a672f3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49240.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe\n\nThe device_node pointer is returned by of_parse_phandle()  with refcount\nincremented. We should use of_node_put() on it when done.\n\nThis function only calls of_node_put() in the regular path.\nAnd it will cause refcount leak in error path.",
  "id": "CVE-2022-49240",
  "modified": "2026-04-01T23:10:16.368886826Z",
  "published": "2025-02-26T01:56:02.795Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4b7174fe5bb875a09a78674a14a1589d1a672f3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c652f8f0875b569f8afa80b8cf9762828fd6187b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49240.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49240"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ASoC: mediatek: mt8195: Fix error handling in mt8195_mt6359_rt1019_rt5682_dev_probe"
}