GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50449 (GCVE-0-2022-50449)

Vulnerability from cvelistv5 – Published: 2025-10-01 11:45 – Updated: 2026-05-11 19:19
VLAI
Title
clk: samsung: Fix memory leak in _samsung_clk_register_pll()
Summary
In the Linux kernel, the following vulnerability has been resolved: clk: samsung: Fix memory leak in _samsung_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < 7b738276a596fa101d320591e9fa84ea0fc3f713 (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < 2e8dc0626fe86ae08914478dec1419618c557bc0 (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < a00b4e0fa27317957536abf8f5d6a96d6cb9d9be (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < da13355bb9961316d124f94dfc7a1385d0fb035a (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < 4e501a31af8efa593a2f003637b56d00b75dca23 (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < 4887ec922e407b4feaf060c7b099482a5c52dee3 (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < a35323218ff32782d051d2643912311a22e07b6a (git)
Affected: 3ff6e0d8d64d594a551b5c4904e4b617bf7eee22 , < 5174e5b0d1b669a489524192b6adcbb3c54ebc72 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.12
Unaffected: 0 , < 3.12 (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.86 , ≤ 5.15.* (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/samsung/clk-pll.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7b738276a596fa101d320591e9fa84ea0fc3f713",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "2e8dc0626fe86ae08914478dec1419618c557bc0",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "a00b4e0fa27317957536abf8f5d6a96d6cb9d9be",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "da13355bb9961316d124f94dfc7a1385d0fb035a",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "4e501a31af8efa593a2f003637b56d00b75dca23",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "4887ec922e407b4feaf060c7b099482a5c52dee3",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "a35323218ff32782d051d2643912311a22e07b6a",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            },
            {
              "lessThan": "5174e5b0d1b669a489524192b6adcbb3c54ebc72",
              "status": "affected",
              "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/samsung/clk-pll.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.12"
            },
            {
              "lessThan": "3.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: samsung: Fix memory leak in _samsung_clk_register_pll()\n\nIf clk_register() fails, @pll-\u003erate_table may have allocated memory by\nkmemdup(), so it needs to be freed, otherwise will cause memory leak\nissue, this patch fixes it."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:19:42.611Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7b738276a596fa101d320591e9fa84ea0fc3f713"
        },
        {
          "url": "https://git.kernel.org/stable/c/2e8dc0626fe86ae08914478dec1419618c557bc0"
        },
        {
          "url": "https://git.kernel.org/stable/c/a00b4e0fa27317957536abf8f5d6a96d6cb9d9be"
        },
        {
          "url": "https://git.kernel.org/stable/c/da13355bb9961316d124f94dfc7a1385d0fb035a"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e501a31af8efa593a2f003637b56d00b75dca23"
        },
        {
          "url": "https://git.kernel.org/stable/c/4887ec922e407b4feaf060c7b099482a5c52dee3"
        },
        {
          "url": "https://git.kernel.org/stable/c/a35323218ff32782d051d2643912311a22e07b6a"
        },
        {
          "url": "https://git.kernel.org/stable/c/5174e5b0d1b669a489524192b6adcbb3c54ebc72"
        }
      ],
      "title": "clk: samsung: Fix memory leak in _samsung_clk_register_pll()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50449",
    "datePublished": "2025-10-01T11:45:23.226Z",
    "dateReserved": "2025-09-17T14:53:07.011Z",
    "dateUpdated": "2026-05-11T19:19:42.611Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50449",
      "date": "2026-09-19",
      "epss": "0.00163",
      "percentile": "0.0594"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/clk/samsung/clk-pll.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "7b738276a596fa101d320591e9fa84ea0fc3f713",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2e8dc0626fe86ae08914478dec1419618c557bc0",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a00b4e0fa27317957536abf8f5d6a96d6cb9d9be",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "da13355bb9961316d124f94dfc7a1385d0fb035a",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4e501a31af8efa593a2f003637b56d00b75dca23",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4887ec922e407b4feaf060c7b099482a5c52dee3",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a35323218ff32782d051d2643912311a22e07b6a",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5174e5b0d1b669a489524192b6adcbb3c54ebc72",
                    "status": "affected",
                    "version": "3ff6e0d8d64d594a551b5c4904e4b617bf7eee22",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/clk/samsung/clk-pll.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.12"
                  },
                  {
                    "lessThan": "3.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.14.*",
                    "status": "unaffected",
                    "version": "4.14.303",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "4.19.*",
                    "status": "unaffected",
                    "version": "4.19.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.4.*",
                    "status": "unaffected",
                    "version": "5.4.229",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.86",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.0.*",
                    "status": "unaffected",
                    "version": "6.0.16",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "93BFD58E-2EA3-484B-A62D-416D7E7B8C0C",
                    "versionEndExcluding": "4.14.303",
                    "versionStartIncluding": "3.12",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AE8904A3-99BE-4E49-9682-1F90A6373F4F",
                    "versionEndExcluding": "4.19.270",
                    "versionStartIncluding": "4.15",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A0C0D95E-414A-445E-941B-3EF6A4D3A093",
                    "versionEndExcluding": "5.4.229",
                    "versionStartIncluding": "4.20",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D05D31FC-BD74-4F9E-B1D8-9CED62BE6F65",
                    "versionEndExcluding": "5.10.163",
                    "versionStartIncluding": "5.5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "47237296-55D1-4ED4-8075-D00FC85A61EE",
                    "versionEndExcluding": "5.15.86",
                    "versionStartIncluding": "5.11",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C720A569-3D93-4D77-95F6-E2B3A3267D9F",
                    "versionEndExcluding": "6.0.16",
                    "versionStartIncluding": "5.16",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "77239F4B-6BB2-4B9E-A654-36A52396116C",
                    "versionEndExcluding": "6.1.2",
                    "versionStartIncluding": "6.1",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: samsung: Fix memory leak in _samsung_clk_register_pll()\n\nIf clk_register() fails, @pll-\u003erate_table may have allocated memory by\nkmemdup(), so it needs to be freed, otherwise will cause memory leak\nissue, this patch fixes it."
          }
        ],
        "id": "CVE-2022-50449",
        "lastModified": "2026-06-17T05:23:34.820",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2025-10-01T12:15:37.503",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/2e8dc0626fe86ae08914478dec1419618c557bc0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4887ec922e407b4feaf060c7b099482a5c52dee3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4e501a31af8efa593a2f003637b56d00b75dca23"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/5174e5b0d1b669a489524192b6adcbb3c54ebc72"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/7b738276a596fa101d320591e9fa84ea0fc3f713"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/a00b4e0fa27317957536abf8f5d6a96d6cb9d9be"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/a35323218ff32782d051d2643912311a22e07b6a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/da13355bb9961316d124f94dfc7a1385d0fb035a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-401"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-30T10:16:01+00:00",
      "cve": "CVE-2022-50449",
      "id": "CVE-2022-50449",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: clk: samsung: Fix memory leak in _samsung_clk_register_pll()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50449.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2026-08-31T01:23:29Z",
      "cve": "CVE-2022-50449",
      "id": "CVE-2022-50449",
      "initial_release_date": "2025-10-01T23:32:30Z",
      "product_status:known_affected": "534",
      "product_status:known_not_affected": "145",
      "product_status:recommended": "206",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50449",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50449.json",
      "version": "32"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…