CVE-2022-50776 (GCVE-0-2022-50776)
Vulnerability from cvelistv5 – Published: 2025-12-24 13:06 – Updated: 2025-12-24 13:06
VLAI?
Title
clk: st: Fix memory leak in st_of_quadfs_setup()
Summary
In the Linux kernel, the following vulnerability has been resolved:
clk: st: Fix memory leak in st_of_quadfs_setup()
If st_clk_register_quadfs_pll() fails, @lock should be freed before goto
@err_exit, otherwise will cause meory leak issue, fix it.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 081538ae5817631a2b99e8e75cce981060aab29f
(git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < f0295209de457049a4a5f3e3985528391bd1ab34 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < be03875007621fcee96e6f9fd7b9e59c8dfcf6fa (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 713ad301c2d49e88fe586b57ebac8f220a98e162 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < efd025f32fce27a8ada9bcb4731e8a84476e5b3d (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < adf6a00859d014cecf046dc91f75c0e65a544360 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 335ef7546c77e63154d6ea4d603b11274a85900e (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < f4731395d6db850127634197863aede188d8e9de (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < cfd3ffb36f0d566846163118651d868e607300ba (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/clk/st/clkgen-fsyn.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "081538ae5817631a2b99e8e75cce981060aab29f",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "f0295209de457049a4a5f3e3985528391bd1ab34",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "be03875007621fcee96e6f9fd7b9e59c8dfcf6fa",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "713ad301c2d49e88fe586b57ebac8f220a98e162",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "efd025f32fce27a8ada9bcb4731e8a84476e5b3d",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "adf6a00859d014cecf046dc91f75c0e65a544360",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "335ef7546c77e63154d6ea4d603b11274a85900e",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "f4731395d6db850127634197863aede188d8e9de",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "cfd3ffb36f0d566846163118651d868e607300ba",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/clk/st/clkgen-fsyn.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.337",
"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.9.337",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.303",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.270",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: st: Fix memory leak in st_of_quadfs_setup()\n\nIf st_clk_register_quadfs_pll() fails, @lock should be freed before goto\n@err_exit, otherwise will cause meory leak issue, fix it."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-24T13:06:05.804Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/081538ae5817631a2b99e8e75cce981060aab29f"
},
{
"url": "https://git.kernel.org/stable/c/f0295209de457049a4a5f3e3985528391bd1ab34"
},
{
"url": "https://git.kernel.org/stable/c/be03875007621fcee96e6f9fd7b9e59c8dfcf6fa"
},
{
"url": "https://git.kernel.org/stable/c/713ad301c2d49e88fe586b57ebac8f220a98e162"
},
{
"url": "https://git.kernel.org/stable/c/efd025f32fce27a8ada9bcb4731e8a84476e5b3d"
},
{
"url": "https://git.kernel.org/stable/c/adf6a00859d014cecf046dc91f75c0e65a544360"
},
{
"url": "https://git.kernel.org/stable/c/335ef7546c77e63154d6ea4d603b11274a85900e"
},
{
"url": "https://git.kernel.org/stable/c/f4731395d6db850127634197863aede188d8e9de"
},
{
"url": "https://git.kernel.org/stable/c/cfd3ffb36f0d566846163118651d868e607300ba"
}
],
"title": "clk: st: Fix memory leak in st_of_quadfs_setup()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50776",
"datePublished": "2025-12-24T13:06:05.804Z",
"dateReserved": "2025-12-24T13:02:21.547Z",
"dateUpdated": "2025-12-24T13:06:05.804Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50776\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:16:04.433\",\"lastModified\":\"2025-12-24T13:16:04.433\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: st: Fix memory leak in st_of_quadfs_setup()\\n\\nIf st_clk_register_quadfs_pll() fails, @lock should be freed before goto\\n@err_exit, otherwise will cause meory leak issue, fix it.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/081538ae5817631a2b99e8e75cce981060aab29f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/335ef7546c77e63154d6ea4d603b11274a85900e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/713ad301c2d49e88fe586b57ebac8f220a98e162\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/adf6a00859d014cecf046dc91f75c0e65a544360\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be03875007621fcee96e6f9fd7b9e59c8dfcf6fa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cfd3ffb36f0d566846163118651d868e607300ba\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/efd025f32fce27a8ada9bcb4731e8a84476e5b3d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f0295209de457049a4a5f3e3985528391bd1ab34\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4731395d6db850127634197863aede188d8e9de\",\"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…