CVE-2022-50713 (GCVE-0-2022-50713)
Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2025-12-24 12:22
VLAI?
Title
clk: visconti: Fix memory leak in visconti_register_pll()
Summary
In the Linux kernel, the following vulnerability has been resolved:
clk: visconti: Fix memory leak in visconti_register_pll()
@pll->rate_table has allocated memory by kmemdup(), if clk_hw_register()
fails, it should be freed, otherwise it will cause memory leak issue,
this patch fixes it.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa , < 70af9bf13be1716eac452c8a29ce6fe6b957a5db
(git)
Affected: b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa , < f0f1982ddfb418bf7bf05dadebae5c6869a41d41 (git) Affected: b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa , < b55226f8553d255f5002c751c7c6ba9291f34bf2 (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/clk/visconti/pll.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "70af9bf13be1716eac452c8a29ce6fe6b957a5db",
"status": "affected",
"version": "b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa",
"versionType": "git"
},
{
"lessThan": "f0f1982ddfb418bf7bf05dadebae5c6869a41d41",
"status": "affected",
"version": "b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa",
"versionType": "git"
},
{
"lessThan": "b55226f8553d255f5002c751c7c6ba9291f34bf2",
"status": "affected",
"version": "b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/clk/visconti/pll.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.17"
},
{
"lessThan": "5.17",
"status": "unaffected",
"version": "0",
"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": "6.0.16",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "5.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "5.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: visconti: Fix memory leak in visconti_register_pll()\n\n@pll-\u003erate_table has allocated memory by kmemdup(), if clk_hw_register()\nfails, it should be freed, otherwise it will cause memory leak issue,\nthis patch fixes it."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-24T12:22:38.387Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/70af9bf13be1716eac452c8a29ce6fe6b957a5db"
},
{
"url": "https://git.kernel.org/stable/c/f0f1982ddfb418bf7bf05dadebae5c6869a41d41"
},
{
"url": "https://git.kernel.org/stable/c/b55226f8553d255f5002c751c7c6ba9291f34bf2"
}
],
"title": "clk: visconti: Fix memory leak in visconti_register_pll()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50713",
"datePublished": "2025-12-24T12:22:38.387Z",
"dateReserved": "2025-12-24T12:20:40.329Z",
"dateUpdated": "2025-12-24T12:22:38.387Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50713\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:15:57.933\",\"lastModified\":\"2025-12-24T13:15:57.933\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: visconti: Fix memory leak in visconti_register_pll()\\n\\n@pll-\u003erate_table has allocated memory by kmemdup(), if clk_hw_register()\\nfails, it should be freed, otherwise it will cause memory leak issue,\\nthis patch fixes it.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/70af9bf13be1716eac452c8a29ce6fe6b957a5db\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b55226f8553d255f5002c751c7c6ba9291f34bf2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f0f1982ddfb418bf7bf05dadebae5c6869a41d41\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
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…
Loading…