CVE-2022-50632

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

Affected Software

VendorProductVersion RangeStatus
LinuxLinux036a7584bede317d0df6b854e4f531b7a2dd8b33 < 367404bfd1aa87b2a50059cd8edc6c12c367cd15affected
LinuxLinux036a7584bede317d0df6b854e4f531b7a2dd8b33 < 7772f4de934123ccd7c7cdc1dc4e46fdd5d767fbaffected
LinuxLinux036a7584bede317d0df6b854e4f531b7a2dd8b33 < 973ae93d80d9d262f695eb485a1902b74c4b9098affected
LinuxLinux5.17affected
LinuxLinux0 < 5.17unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References