drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.166.1.26.2In 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")
From the CVE record · Linux
The Linux kernel's marvell_cn10k perf driver fails to remove a CPU hotplug callback if platform_driver_register() fails during tad_pmu_init(). The input does not describe an attacker action or specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running the Linux kernel with the marvell_cn10k perf driver should check their versions; affected versions are not specified.