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 8C85912F38F for ; Tue, 21 May 2024 14:20:40 +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=1716301240; cv=none; b=MA7sVkoZXhS/MHnEIy0eoxJBezTtOBoosjSeGCemFBE/6ynNnt5ccl8dLoBDLvi80lULM2lvawQf4Oiex0rM8hU9ejlUz/+MfUZX3R/qDBkNQ/BVtlMCThTfhNXCGXCspjwQvr1MtZDBIw3SiSD4zpTPp3gPO0P4yi65NaPT0Io= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716301240; c=relaxed/simple; bh=B0GyL5aI6eQikCf2T+Q818zHZcMNIQ3v+cbp2XwBzPo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q1eHY1IRMZon41L0g5r2LN30RsrhfXemIBPQ+0vkzB+ZouWvBuz8OaG/8fCiP+MqLxzGrFu6opV4NQP60dRpbEdO5a+jrhsM0CHsSRMT+tjXKJwfRRhrdMAccWh/J4dVprlOvYaEFKPH+sCzGL7laVeycPH4W8j2zGHiM5MzRy4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m505BqR1; 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="m505BqR1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6272C32786; Tue, 21 May 2024 14:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716301240; bh=B0GyL5aI6eQikCf2T+Q818zHZcMNIQ3v+cbp2XwBzPo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=m505BqR1taEd4M4L4Q+eauefAHL6mO+HJKsJ8zIZHOpQaHEKIKEWXSIbFsBF7mN6V Ium2q6NTsYtmbIgP5RtS2XYkFhTkRdJLE5fQXGjQ15tCYKd5gwsIeTbUAWYBQOTybM 66X4h6c3fgBCTEf4kcz5rVLv7CtKzDlw38FTZ+Sc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47234: phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() Date: Tue, 21 May 2024 16:19:48 +0200 Message-ID: <2024052139-CVE-2021-47234-349a@gregkh> X-Mailer: git-send-email 2.45.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=1771; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B0GyL5aI6eQikCf2T+Q818zHZcMNIQ3v+cbp2XwBzPo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+a6snPLtzKt+AIVVfiJ1hvuT/TTwP/vrkJd//ay4WY 9i+PMK8I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTAG5yDcOC5SnSj36c171iFRp8 Md13V/5x0WXbGBbsr2JvFtFKWS+T9Np19bIy10vXr/wDAA== 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: phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init() Use clk_disable_unprepare() in the error path of mtk_phy_init() to fix some resource leaks. The Linux kernel CVE team has assigned CVE-2021-47234 to this issue. Affected and fixed versions =========================== Fixed in 5.10.46 with commit 9a1790794623 Fixed in 5.12.13 with commit 6472955af5e8 Fixed in 5.13 with commit aaac9a1bd370 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-2021-47234 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/phy/mediatek/phy-mtk-tphy.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/9a17907946232d01aa2ec109da5f93b8d31dd425 https://git.kernel.org/stable/c/6472955af5e88b5489b6d78316082ad56ea3e489 https://git.kernel.org/stable/c/aaac9a1bd370338ce372669eb9a6059d16b929aa