← CVE Intelligence

CVE-2022-50632

drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init() PUBLISHED

Description (CNA)

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")

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 036a7584bede317d0df6b854e4f531b7a2dd8b33 before 367404bfd1aa87b2a50059cd8edc6c12c367cd15; affected 036a7584bede317d0df6b854e4f531b7a2dd8b33 before 7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb; affected 036a7584bede317d0df6b854e4f531b7a2dd8b33 before 973ae93d80d9d262f695eb485a1902b74c4b9098
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 6.0.16 through 6.0.*; unaffected 6.1.2 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References