← Back to CVE Explorer

CVE-2022-50458

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: clk: tegra: Fix refcount leak in tegra210_clock_init of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-10-01 12:15:39.123000
Last modified
2026-11-05 21:16:59.583000
View original CVE JSON
{
  "id": "CVE-2022-50458",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-10-01T12:15:39.123",
  "lastModified": "2026-11-05T21:16:59.583",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: tegra: Fix refcount leak in tegra210_clock_init\n\nof_find_matching_node() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/clk/tegra/clk-tegra210.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "a19360db83d29bd6b0de4ffad2c815d79246ba99",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "e715510adc20a4a07f157ece4e6d068e648a0383",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "ac010ec3484ba95c6ab3d946f9a83560005c13c6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "6d3ac23b952f374017e1a5249d1f03bdbc7f9878",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "f487137a53b1a0692211f7ae82c0a7f87c30bdbe",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "417ed4432b1b40526b1cb50e535d46900505f6d9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "1a6d97139b0a370a9d0809a00e91c41f5bcd3ef1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "f38f34ba1e1029b927b81b9bf9d952f4ed4007bd",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6b301a059eb2ebed1b12a900e3b21a38e48dd410",
              "lessThan": "56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/clk/tegra/clk-tegra210.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.5",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.5",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "4.9.331",
              "lessThanOrEqual": "4.9.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "4.14.296",
              "lessThanOrEqual": "4.14.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "4.19.262",
              "lessThanOrEqual": "4.19.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.4.220",
              "lessThanOrEqual": "5.4.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.150",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.75",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.19.17",
              "lessThanOrEqual": "5.19.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.0.3",
              "lessThanOrEqual": "6.0.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-11-05T20:11:17.406940Z",
          "id": "CVE-2022-50458",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-Other"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.5",
              "versionEndExcluding": "4.9.331",
              "matchCriteriaId": "F3B0F62F-2D7B-40F7-9CCF-DD5DA5E0AB7D"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.10",
              "versionEndExcluding": "4.14.296",
              "matchCriteriaId": "1927ABC6-E0D2-478F-B103-B982A42D1158"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.15",
              "versionEndExcluding": "4.19.262",
              "matchCriteriaId": "D6B62970-1FAD-4ED6-930A-23E26A8D2E08"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.20",
              "versionEndExcluding": "5.4.220",
              "matchCriteriaId": "125F7133-B3B7-4175-8CF3-FF0845483254"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.5",
              "versionEndExcluding": "5.10.150",
              "matchCriteriaId": "C495821C-2A71-4F09-BED8-6A6EB4C9BA27"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.11",
              "versionEndExcluding": "5.15.75",
              "matchCriteriaId": "6D945F46-F32F-4C09-8400-C3477E22A9FB"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.16",
              "versionEndExcluding": "5.19.17",
              "matchCriteriaId": "19B4C3A4-E5C3-41DC-BB14-BE72858E7D35"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.0",
              "versionEndExcluding": "6.0.3",
              "matchCriteriaId": "5BCD8201-B847-4442-B894-70D430128DEF"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1a6d97139b0a370a9d0809a00e91c41f5bcd3ef1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/417ed4432b1b40526b1cb50e535d46900505f6d9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/56c78cb1f00a9dde8cd762131ce8f4c5eb046fbb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/6d3ac23b952f374017e1a5249d1f03bdbc7f9878",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/a19360db83d29bd6b0de4ffad2c815d79246ba99",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/ac010ec3484ba95c6ab3d946f9a83560005c13c6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/e715510adc20a4a07f157ece4e6d068e648a0383",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/f38f34ba1e1029b927b81b9bf9d952f4ed4007bd",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/f487137a53b1a0692211f7ae82c0a7f87c30bdbe",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    }
  ]
}