[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123016-CVE-2022-50820-c3d9@gregkh>
Date: Tue, 30 Dec 2025 13:09:24 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50820: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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")
The Linux kernel CVE team has assigned CVE-2022-50820 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.11 with commit 53c218da220c3619b5befec4674ffa35d590092a and fixed in 5.15.86 with commit b99fbe8d949a99fe456f08c7aad421327685aa50
Issue introduced in 5.11 with commit 53c218da220c3619b5befec4674ffa35d590092a and fixed in 6.0.16 with commit af170afa97e50d4169cfaa7ff4ec5d3841182641
Issue introduced in 5.11 with commit 53c218da220c3619b5befec4674ffa35d590092a and fixed in 6.1.2 with commit adf7c3bbcc819db6e95b6a61c9822230f0ef4778
Issue introduced in 5.11 with commit 53c218da220c3619b5befec4674ffa35d590092a and fixed in 6.2 with commit d9f564c966e63925aac4ba273a9319d7fb6f4b4e
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50820
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/perf/arm_dmc620_pmu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/b99fbe8d949a99fe456f08c7aad421327685aa50
https://git.kernel.org/stable/c/af170afa97e50d4169cfaa7ff4ec5d3841182641
https://git.kernel.org/stable/c/adf7c3bbcc819db6e95b6a61c9822230f0ef4778
https://git.kernel.org/stable/c/d9f564c966e63925aac4ba273a9319d7fb6f4b4e
Powered by blists - more mailing lists