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 456623D546 for ; Fri, 17 May 2024 13:41:49 +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=1715953309; cv=none; b=tRFCJ5puEqYnKwT136z3W6weZJb5Zbowk9s8hZRmQh4sNFrm+2ftYeHWeBNZcBTS0yDczg26epQ8NTcLvHBfL6xi97cB34QJban8SOBQediI9+9SkK/7X7fKP+01JnoiUzmL7hv1NLDT5x38GtL7/f9j9Qo3iK3jKQeJH5kkGU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715953309; c=relaxed/simple; bh=/DizqRPYWHfiTYmbxAirGgzA57sKven5b86pfBxWmpM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Sg7g0zu52o1TdNhXaaF5Q3g9kn896PqAG/JffuH+DYN6E2LEZphot1yLpPBE+UtaYArUEMms8ErShKYvj6FmwRVhul9M/se8e5JLCwBd1/uPUInbBFfxz+6gBY8Hqp6l8hXIdTTRT/AtKxex/zT9td57YpbrL+shYgCJjOvnCRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fij0f3bP; 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="Fij0f3bP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 816EBC2BD10; Fri, 17 May 2024 13:41:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715953308; bh=/DizqRPYWHfiTYmbxAirGgzA57sKven5b86pfBxWmpM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Fij0f3bPtje4j4BnrmVdHer5Xl8WXymj+fEXo2UBXl8XRWD+j04jz223fsi4idl9X gBw3s0VbfN0jNi0V2pkbBVtsBF1Vf92Oo+LarP1M1+AE5oA/v0DNM5Xl0WbkwDe/xo RWNt9v/G8g8c6K5eW6iaXmFfVRi2xCXj8WKu8iRE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52661: drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe() Date: Fri, 17 May 2024 15:41:39 +0200 Message-ID: <2024051738-CVE-2023-52661-5539@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=2459; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/DizqRPYWHfiTYmbxAirGgzA57sKven5b86pfBxWmpM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnucZP2H6nfve++S/i82mlHjacnqU6Q0sow+J+gqaSTo +bF1JLfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZxskwV3rD/KYmK3HjBY6L t0s/tO+8za7yimGu3B7hIF2LP0yC69Y2Z6nPEDaQvNUCAA== 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: drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe() If clk_get_sys(..., "pll_d2_out0") fails, the clk_get_sys() call must be undone. Add the missing clk_put and a new 'put_pll_d_out0' label in the error handling path, and use it. The Linux kernel CVE team has assigned CVE-2023-52661 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 0c921b6d4ba0 and fixed in 6.1.83 with commit f3f407ccbe84 Issue introduced in 5.17 with commit 0c921b6d4ba0 and fixed in 6.6.23 with commit 845322a9c06d Issue introduced in 5.17 with commit 0c921b6d4ba0 and fixed in 6.7.11 with commit 2388c36e028f Issue introduced in 5.17 with commit 0c921b6d4ba0 and fixed in 6.8.2 with commit fa74e4f5d082 Issue introduced in 5.17 with commit 0c921b6d4ba0 and fixed in 6.9 with commit 45c8034db478 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-2023-52661 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/gpu/drm/tegra/rgb.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/5c8dc26e31b8b410ad1895e0d314def50c76eed0 https://git.kernel.org/stable/c/f3f407ccbe84a34de9be3195d22cdd5969f3fd9f https://git.kernel.org/stable/c/845322a9c06dd1dcf35b6c4e3af89684297c23cc https://git.kernel.org/stable/c/2388c36e028fff7f8ffd515681a14c6c2c07fea7 https://git.kernel.org/stable/c/fa74e4f5d0821829545b9f7034a0e577c205c101 https://git.kernel.org/stable/c/45c8034db47842b25a3ab6139d71e13b4e67b9b3