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 2DCBF3B8D6F for ; Tue, 9 Dec 2025 00:01:50 +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=1765238511; cv=none; b=MP0HV2gZZ3JdbgjHBhB3976I0bcNjxMTx/DGCQaZAkzwYuXr+rDFSH1M52Lx/4sffpgMeEJPFOqGpjIYmT40+tSEaFqG5qEiVgDQ86vYdMXJEvUqIwzMBpFrHiZc4IMiyNt9PqveuYQQvEjs2EL0Q63817xy6zL2meYRIbhTG0c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238511; c=relaxed/simple; bh=9uPC9IVU1ewC78e+CW3VUBohSHT90Xj44psnkU2lQs4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XE9vrCASZFdee4fNqP9yfaoa9OU+93n1kwm3E6ZUzj7GyPmBr+vP42OsV6tULwtjT5hVhuP9lpHQgrVjMnKTZVXqEezM3TefQy1xrB1khINxFWfYSRiTyguZqb99xXyD9lgB9fcPj3LbMDzQLyKGxLv0fERYZkUx3fEHzNToN3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f9oDXzpr; 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="f9oDXzpr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 434DAC4CEF1; Tue, 9 Dec 2025 00:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238510; bh=9uPC9IVU1ewC78e+CW3VUBohSHT90Xj44psnkU2lQs4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=f9oDXzprSjo7DzAxvC/GY2w9mymf7Ujv1878JSqGx/2l7kGHUPd75P+4YotCK/N4U cgkt4cYAdjPVlHXqy7C8xDn5vFabPCnZyfXYHayIp1EJQYImyYh2TZmBdU+0BeC6RQ QSZOc+Xv9MIpaJj+gTjoMjqWYEkhNNJ9TOlLUee8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50632: drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init() Date: Tue, 9 Dec 2025 09:01:33 +0900 Message-ID: <2025120934-CVE-2022-50632-97fb@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=2317; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3CVdiglqfnelJCBzwgBvBnE5SM5zs+eHUKRc5aW5vBM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaffmbOjcrOf6Wn0e9+bTVrKiVZZ1fNmTKm8sri6Sv P5B8VFdRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk+12GBTfD3NZG111xUjR/ 9mbrx8yP62069RnmmbO0fuH475K06nzNUdGk6Vw7xZUuAAA= 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: 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") The Linux kernel CVE team has assigned CVE-2022-50632 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 036a7584bede317d0df6b854e4f531b7a2dd8b33 and fixed in 6.0.16 with commit 367404bfd1aa87b2a50059cd8edc6c12c367cd15 Issue introduced in 5.17 with commit 036a7584bede317d0df6b854e4f531b7a2dd8b33 and fixed in 6.1.2 with commit 7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb Issue introduced in 5.17 with commit 036a7584bede317d0df6b854e4f531b7a2dd8b33 and fixed in 6.2 with commit 973ae93d80d9d262f695eb485a1902b74c4b9098 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-50632 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/marvell_cn10k_tad_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/367404bfd1aa87b2a50059cd8edc6c12c367cd15 https://git.kernel.org/stable/c/7772f4de934123ccd7c7cdc1dc4e46fdd5d767fb https://git.kernel.org/stable/c/973ae93d80d9d262f695eb485a1902b74c4b9098