Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0B67289E13 for ; Tue, 30 Dec 2025 12:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096586; cv=none; b=g08CdUoqQ4VEox08S3g4IwTjfeFwkBozxzx+LvQavSGeE2TMWi4o/2bFIl38Z/Gb3xvh+gHx+lHeu82q3YdK4TdHcvtMrqL3lfCqwvo1tECGQoSeDCyou5XTbg9BnQ+cW6iPhXbBx0BG/5D+m7D9smIgdt/UPAjqitoOGl4ouS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096586; c=relaxed/simple; bh=P6+oXvGbEH/Ep361wmAFwvteLJgxzMkXGZN9M3NRpdo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DyaWY9235KidAEereiZgEuNm2FnBZWMB+R++jFFLLZ/lX4UnKy/k1flUsuwKF5LhVpLhZY4Xtt6tOvurxvfVIPz21XqW/zmOV8IKqCgIuAjQ88eDXOAiTVo1Ew8L7lFin+qpRBUUYomp2R7/zc4Nf2jWSv2Ou4A1m+2dk4mE/9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xc4/docB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Xc4/docB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24331C4CEFB; Tue, 30 Dec 2025 12:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096586; bh=P6+oXvGbEH/Ep361wmAFwvteLJgxzMkXGZN9M3NRpdo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Xc4/docB+lA1N3vUErtMDirtFih7baPYWXyMKzJKhh/WK1Y8Po8Ol3P606rvavuzD D/745k+UATsmlIEElhW4O3fJ81u5/xQdmK59Xi+w06bklpyo/BJOb9mYe1D7LNrIdh Zy2xGPZ7qgavL8+lSnhRJoVoTBwVWyqiFpBTjtMQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50820: perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init() Date: Tue, 30 Dec 2025 13:09:24 +0100 Message-ID: <2025123016-CVE-2022-50820-c3d9@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=i27QTCVCJxqBrjflmv3ZCPFq09rEeoHqE7m4989CMtw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB95sO3dldaXa1kyXLbWhr8xO8C5wufs7KOL4xRmV/ p1vJFMedcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEBGsZ5mlL337GkvGnUSEp 2Snw/FnJQIuoaoYFl2bbf5z31Ma4656cgXmT6w0ZhtjdAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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