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 5DFCC29C35A for ; Wed, 18 Jun 2025 11:17:27 +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=1750245447; cv=none; b=TT0Vv5nIWqyEqQrKX4KqMSt+Uy9EG/hF+hoNdfeFzoOQ0dr0GZn4d3i4hqzOI8ouZHAmmEM45JktT7W9PscRgIHAmh3lzqX2rGW/1KbvT8JP5/jqZLa4F5UTH3vCLuL1CCWPsBZ9yHfmGrO/yyeTdVXhil85YZf2uTXHJpPVmZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245447; c=relaxed/simple; bh=E+jyeUGd6df3OkcUNlhC1SrUCkkZwlODxBxpMHT/97g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Y53NuIrJhoMtpKjWM//hA/EWXjihcuudQDxQJaRP04Rz9BMMvplOOXTL3updncM5JYxg1EsTdt2ll87mtUKuFDQepBGO6Oq5w224kydbWjA+EY3H+hiVvMOtTBg12Egw/vqAvOdcNsTLT8ayGJE56Q9fFzflEylri51y6g5e3Lc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fnUlovjh; 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="fnUlovjh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE2E6C4CEE7; Wed, 18 Jun 2025 11:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245447; bh=E+jyeUGd6df3OkcUNlhC1SrUCkkZwlODxBxpMHT/97g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fnUlovjhsP7U9lqaseq+JkUgmCm1Pcvo5FHPEgiTdSTArlYHvzuO5+wRNVlaiamVD lDIy/JUMoZlC5gckSqj4jLFrQsCfTSlBv/CIBLAZlMTImsfC8fFpqRyqhDrta9LQdy LyNGOogVdB5EmN9EmsYO+iBOlcYG0oa733Ut0vx4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50208: soc: amlogic: Fix refcount leak in meson-secure-pwrc.c Date: Wed, 18 Jun 2025 13:04:33 +0200 Message-ID: <2025061842-CVE-2022-50208-f4e9@gregkh> X-Mailer: git-send-email 2.49.0 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=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ldKB6U7uD3UHAfw/jYDrlvrGVmH24aMNo7tIXIYtqos=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc6Z1fj28YaHXw5ucwRx/Hx5bpvy34UX2PcfVKYurX kyrPnmPsyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmYnKOYa6obnjed8lC2fdN Z7kKN99tnCXy8hzDgpZzy83rVi+0ucr3R7Vgy9e4V+ufcgEA 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: soc: amlogic: Fix refcount leak in meson-secure-pwrc.c In meson_secure_pwrc_probe(), there is a refcount leak in one fail path. The Linux kernel CVE team has assigned CVE-2022-50208 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 and fixed in 5.10.137 with commit 80c469e63bfa9a5a8114952bffc6a7d241e7497e Issue introduced in 5.7 with commit b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 and fixed in 5.15.61 with commit f370fbbd3151c1c87d1e976c8964cb6cc46f2e00 Issue introduced in 5.7 with commit b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 and fixed in 5.18.18 with commit 5509d07a9364b75b28055bf2d89289e4e5269929 Issue introduced in 5.7 with commit b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 and fixed in 5.19.2 with commit d1fbbb5ded714b6610a16ec3d7e271a55291ccc4 Issue introduced in 5.7 with commit b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 and fixed in 6.0 with commit d18529a4c12f66d83daac78045ea54063bd43257 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-50208 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/soc/amlogic/meson-secure-pwrc.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/80c469e63bfa9a5a8114952bffc6a7d241e7497e https://git.kernel.org/stable/c/f370fbbd3151c1c87d1e976c8964cb6cc46f2e00 https://git.kernel.org/stable/c/5509d07a9364b75b28055bf2d89289e4e5269929 https://git.kernel.org/stable/c/d1fbbb5ded714b6610a16ec3d7e271a55291ccc4 https://git.kernel.org/stable/c/d18529a4c12f66d83daac78045ea54063bd43257