Skip to content
Heist/ feed
Back to feed
MediumFix available

PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup() The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.46, 5.17.14, 5.18.3
CVEs
CVE-2022-49454
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:46 UTC · Revision 1

Source evidence

PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()

core-osv · Original source

Published 26 Feb 2025, 02:13 UTC

In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup() The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.

osv:CVE-2022-49454

Kernel

Fixed versions: 5.15.46, 5.17.14, 5.18.3

Complete source record
{
  "id": "cbc3d9aeb3699bf699b4355b051593a4875e071980406f776b8a7ec5c6d5e766",
  "url": "https://osv.dev/vulnerability/CVE-2022-49454",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup() The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.",
    "evidence": "osv:CVE-2022-49454",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49454",
      "aliases": [
        "CVE-2022-49454"
      ],
      "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": "87e8657ba99cac87b84c7f8ead91b44d88345504"
                },
                {
                  "fixed": "ad1c9d13e04509ae24fae8dd2897148657323519"
                },
                {
                  "fixed": "4cef4237d6c37257cb6ddc397723e9c0dded0efe"
                },
                {
                  "fixed": "09b2d906d78ddf5042b1f3e0091835fc6997e8a4"
                },
                {
                  "fixed": "214e0d8fe4a813ae6ffd62bc2dfe7544c20914f4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49454.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "5.15.46"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.17.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "5.18.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49454.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.304647110Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/09b2d906d78ddf5042b1f3e0091835fc6997e8a4",
        "https://git.kernel.org/stable/c/214e0d8fe4a813ae6ffd62bc2dfe7544c20914f4",
        "https://git.kernel.org/stable/c/4cef4237d6c37257cb6ddc397723e9c0dded0efe",
        "https://git.kernel.org/stable/c/ad1c9d13e04509ae24fae8dd2897148657323519",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49454.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49454",
        "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-49454.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49454",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502158,
  "published_at": "2025-02-26T02:13:03.435+00:00"
}