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

Vulnerability from cvelistv5 – Published: 2025-10-01 11:45 – Updated: 2025-10-01 11:45
VLAI?
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
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)
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)
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": "2025-10-01T11:45:23.226Z",
        "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": "2025-10-01T11:45:23.226Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50449\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:37.503\",\"lastModified\":\"2025-10-02T19:12:17.160\",\"vulnStatus\":\"Awaiting Analysis\",\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2e8dc0626fe86ae08914478dec1419618c557bc0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4887ec922e407b4feaf060c7b099482a5c52dee3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4e501a31af8efa593a2f003637b56d00b75dca23\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5174e5b0d1b669a489524192b6adcbb3c54ebc72\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7b738276a596fa101d320591e9fa84ea0fc3f713\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a00b4e0fa27317957536abf8f5d6a96d6cb9d9be\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a35323218ff32782d051d2643912311a22e07b6a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/da13355bb9961316d124f94dfc7a1385d0fb035a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…