All reports
Low

kernel: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50820

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init() dmc620_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")

A resource leak flaw was found in the ARM DMC-620 PMU driver. If platform_driver_register() fails during module initialization, the CPU hotplug callback registered earlier is not removed, leaving a dangling callback.