Skip to content
Heist/ feed
Back to feed
MediumFix available

memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in some error paths. To unify the structure, Add put_node label and goto it on errors.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.127, 5.15.51, 5.18.8
CVEs
CVE-2022-49676
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:33 UTC · Revision 1

Source evidence

memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings

core-osv · Original source

Published 26 Feb 2025, 02:24 UTC

In the Linux kernel, the following vulnerability has been resolved: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in some error paths. To unify the structure, Add put_node label and goto it on errors.

osv:CVE-2022-49676

Kernel

Fixed versions: 5.10.127, 5.15.51, 5.18.8

Complete source record
{
  "id": "424309c25d63dfe58dcf8caa9cf923cea766498cdea8bc09663449ff07aeda1b",
  "url": "https://osv.dev/vulnerability/CVE-2022-49676",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. This function doesn't call of_node_put() in some error paths. To unify the structure, Add put_node label and goto it on errors.",
    "evidence": "osv:CVE-2022-49676",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.127",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49676",
      "aliases": [
        "CVE-2022-49676"
      ],
      "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": "6e7674c3c6df565ab47d02b4f2e608e3477cdf86"
                },
                {
                  "fixed": "889aad2203e09eed2071ca8985c25e9d6aea5735"
                },
                {
                  "fixed": "cde4480b5ab06195b9164184b0c02ced71e601b4"
                },
                {
                  "fixed": "bb2a481778c60f912c363e271ae46b55ff8132db"
                },
                {
                  "fixed": "1332661e09304b7b8e84e5edc11811ba08d12abe"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49676.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.127"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.18.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49676.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.801021251Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1332661e09304b7b8e84e5edc11811ba08d12abe",
        "https://git.kernel.org/stable/c/889aad2203e09eed2071ca8985c25e9d6aea5735",
        "https://git.kernel.org/stable/c/bb2a481778c60f912c363e271ae46b55ff8132db",
        "https://git.kernel.org/stable/c/cde4480b5ab06195b9164184b0c02ced71e601b4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49676.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49676",
        "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-49676.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49676",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513518,
  "published_at": "2025-02-26T02:24:07.905+00:00"
}