From mboxrd@z Thu Jan 1 00:00:00 1970 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 D5F1721ADC5 for ; Wed, 26 Feb 2025 02:24:51 +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=1740536691; cv=none; b=bg3pI2LGbcWwK9/vZU019vOnEB1BjTr1b/ondQjBxpGiTKWKomgEDJBSuGXlmSZ8o7nO9aCsllCN+Jyr5u83YNNdytLQ1rkPhuXw1DWfN/hHdACeYXym8iufH5TO5mqMZ5PLfJHtbOhNOLTd6K47QNlG+uD3PTszbUSODkq5AKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536691; c=relaxed/simple; bh=qq4Mpz0ij59FKDOVjRuaY0AU6mGh+CHJt0eSq0WAvJo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NN+q2C/VdRwLhCppi6kuVA8KOeXfC4HoRBgG+ZrzHYI2s6ZAT16bY6VAvIEcKdIggJiRUNfS/LHnQQK6njpUfZEwICoIrY7HmOjwC+MvuIHBluAE1wkMaLiH8GjpA7HN7tXFkHtu/I7OzDI47FETrHw/u2npqa9Z0MlUVRnxUuU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QzjjmnGe; 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="QzjjmnGe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD3C8C4CEDD; Wed, 26 Feb 2025 02:24:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536691; bh=qq4Mpz0ij59FKDOVjRuaY0AU6mGh+CHJt0eSq0WAvJo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QzjjmnGeJoc5NlTLClRfk142bWl0u5Jc9IeguPTi3N5Ssh10ZB2ji/0eQUxQrO38u 5B9TAZlLNZb2otMdCN7Sh6EbRgoF5Vr2wwYEliA6ResUreqzwYa99qWHZYNrZDSbd5 yARReTZR1CSEtGs4NfRaoZ7n29SoihVmBGZf5XkY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49656: ARM: meson: Fix refcount leak in meson_smp_prepare_cpus Date: Wed, 26 Feb 2025 03:23:39 +0100 Message-ID: <2025022621-CVE-2022-49656-830e@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2859; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qq4Mpz0ij59FKDOVjRuaY0AU6mGh+CHJt0eSq0WAvJo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qu6u377/x9HfBRIda8PZK496nS7TN1b4KHXvYIxnY 1W0dczBjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIcBzDfIdfJc+Lj6bXl37f V3hvnhqLzCndSIYFs/wNDs2Ymc+VIvZlbYRPucSfSg1+AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ARM: meson: Fix refcount leak in meson_smp_prepare_cpus of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak. The Linux kernel CVE team has assigned CVE-2022-49656 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 4.19.252 with commit 2e1bcd33478ef44e63a45457055060b5fe4118ad Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 5.4.205 with commit 3cf8ece9113242c10f83c7675ea4f4f67959ee43 Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 5.10.130 with commit 3d90607e7e6afa89768b0aaa915b58bd2b849276 Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 5.15.54 with commit 7208101ded1e9dcc52c8f0f8b16474211c871c1a Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 5.18.11 with commit c5fbf4f74c94fd60d5e9bf9f7f8268c3601562ca Issue introduced in 4.15 with commit d850f3e5d2966e5c9eb55f66181cee960737e04c and fixed in 5.19 with commit 34d2cd3fccced12b958b8848e3eff0ee4296764c 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-49656 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: arch/arm/mach-meson/platsmp.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/2e1bcd33478ef44e63a45457055060b5fe4118ad https://git.kernel.org/stable/c/3cf8ece9113242c10f83c7675ea4f4f67959ee43 https://git.kernel.org/stable/c/3d90607e7e6afa89768b0aaa915b58bd2b849276 https://git.kernel.org/stable/c/7208101ded1e9dcc52c8f0f8b16474211c871c1a https://git.kernel.org/stable/c/c5fbf4f74c94fd60d5e9bf9f7f8268c3601562ca https://git.kernel.org/stable/c/34d2cd3fccced12b958b8848e3eff0ee4296764c