CVE-2022-50632 (GCVE-0-2022-50632)
Vulnerability from cvelistv5 – Published: 2025-12-08 23:59 – Updated: 2025-12-08 23:59
VLAI?
Title
drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()
Summary
In the Linux kernel, the following vulnerability has been resolved:
drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()
tad_pmu_init() won't remove the callback added by cpuhp_setup_state_multi()
when platform_driver_register() failed. Remove the callback by
cpuhp_remove_multi_state() in fail path.
Similar to the handling of arm_ccn_init() in commit 26242b330093 ("bus:
arm-ccn: Prevent hotplug callback leak")
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
036a7584bede317d0df6b854e4f531b7a2dd8b33 , < 367404bfd1aa87b2a50059cd8edc6c12c367cd15
(git)
Affected: 036a7584bede317d0df6b854e4f531b7a2dd8b33 , < 7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb (git) Affected: 036a7584bede317d0df6b854e4f531b7a2dd8b33 , < 973ae93d80d9d262f695eb485a1902b74c4b9098 (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/perf/marvell_cn10k_tad_pmu.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "367404bfd1aa87b2a50059cd8edc6c12c367cd15",
"status": "affected",
"version": "036a7584bede317d0df6b854e4f531b7a2dd8b33",
"versionType": "git"
},
{
"lessThan": "7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb",
"status": "affected",
"version": "036a7584bede317d0df6b854e4f531b7a2dd8b33",
"versionType": "git"
},
{
"lessThan": "973ae93d80d9d262f695eb485a1902b74c4b9098",
"status": "affected",
"version": "036a7584bede317d0df6b854e4f531b7a2dd8b33",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/perf/marvell_cn10k_tad_pmu.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\ndrivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()\n\ntad_pmu_init() won\u0027t remove the callback added by cpuhp_setup_state_multi()\nwhen platform_driver_register() failed. Remove the callback by\ncpuhp_remove_multi_state() in fail path.\n\nSimilar to the handling of arm_ccn_init() in commit 26242b330093 (\"bus:\narm-ccn: Prevent hotplug callback leak\")"
}
],
"providerMetadata": {
"dateUpdated": "2025-12-08T23:59:58.587Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/367404bfd1aa87b2a50059cd8edc6c12c367cd15"
},
{
"url": "https://git.kernel.org/stable/c/7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb"
},
{
"url": "https://git.kernel.org/stable/c/973ae93d80d9d262f695eb485a1902b74c4b9098"
}
],
"title": "drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50632",
"datePublished": "2025-12-08T23:59:58.587Z",
"dateReserved": "2025-12-08T23:57:43.369Z",
"dateUpdated": "2025-12-08T23:59:58.587Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50632\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-09T01:16:45.330\",\"lastModified\":\"2025-12-09T18:37:13.640\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()\\n\\ntad_pmu_init() won\u0027t remove the callback added by cpuhp_setup_state_multi()\\nwhen platform_driver_register() failed. Remove the callback by\\ncpuhp_remove_multi_state() in fail path.\\n\\nSimilar to the handling of arm_ccn_init() in commit 26242b330093 (\\\"bus:\\narm-ccn: Prevent hotplug callback leak\\\")\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/367404bfd1aa87b2a50059cd8edc6c12c367cd15\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/973ae93d80d9d262f695eb485a1902b74c4b9098\",\"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…