perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7d839b4b9e00645e49345d6ce5dfa8edf53c1a21 · < 6f2d566b46436a50a80d6445e82879686b89588c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
arm_smmu_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 arm_smmu_pmu_init() leaves a CPU hotplug callback registered if platform_driver_register() fails. This is a resource leak; the input does not describe how an attacker could trigger it or specify access or interaction requirements.
Engineers running the Linux kernel should check affected versions against the vendor advisory; no version range was provided.