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 0CA0D1F3D49 for ; Fri, 27 Dec 2024 13:54:26 +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=1735307666; cv=none; b=kfae+sBM81IXaX9RjPGLuT70P/u+yX3kBUR7bsATpCBRLUf09v7Xf6nCWFpLdYjd/9xXuZKQ7SihRn3CNSAN+dImHhr431E9YrwL8NhQfSd+apfDIQpVg2jChLA9ZpwLxOF/06bmUQ1puYFvNM77hTje7dgE7qPCfF/AESU5ShQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735307666; c=relaxed/simple; bh=QXnYW0p60/kXyDS7kT98VxBkuQd/oS6dBnCNiGTvbtM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PlmGzDgZjNbmG/djZvCWGqZqmq+2z57KY6lnF7PzLtWEo/P+FNxXZBcT4nppwWveDix/DUdBw4/xR3YXrOndpNV02WfmxciSaRqQRviSTIm5AI0I3dqZoBuWVk9XmsmDUTDJUlnHUavHMHnWgIo8C8hUIxI64fDQZkgnlDHnJMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LytuIaxU; 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="LytuIaxU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 689F9C4CED0; Fri, 27 Dec 2024 13:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735307665; bh=QXnYW0p60/kXyDS7kT98VxBkuQd/oS6dBnCNiGTvbtM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LytuIaxU0jCbfYmcILHYvnq7agkvuPZcNV0wRXwZdCF7JJA9GLjS7YvNGUpTiZA+4 wxQB1GyybP+vD6/nPy2OzOhwp8t1TyS3LBBkp+Q4AQ6tBXSXSmRzYnFVEzRQWzEObQ xdqTkCJzv1jsDdOu2OKz4kYkzBx2fvE5c5wKH0pY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53200: drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp Date: Fri, 27 Dec 2024 14:52:46 +0100 Message-ID: <2024122726-CVE-2024-53200-1320@gregkh> X-Mailer: git-send-email 2.47.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=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QXnYW0p60/kXyDS7kT98VxBkuQd/oS6dBnCNiGTvbtM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5G6WUej9nXG3VzJV7p2jeap5aufG/69yNf+Z+vv/UZ bdadGV1RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkTADDXMnyIpeLwYG8B3Yd MDXOX8zk+Gv9V4b5cYvuH8x3zlm8UEjpwpSZnm2/Up7fAAA= 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/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp This commit addresses a null pointer dereference issue in hwss_setup_dpp(). The issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure `pipe_ctx->plane_state` is not null before accessing. This prevents a null pointer dereference. The Linux kernel CVE team has assigned CVE-2024-53200 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 0baae624630788862bbd654741929007971e9d5b and fixed in 6.6.64 with commit 020002c76147ecfdafe95c44abd3240e216b6316 Issue introduced in 6.5 with commit 0baae624630788862bbd654741929007971e9d5b and fixed in 6.11.11 with commit 0dd3d1de7a5957804ccd58c1b252f9e34710e3f6 Issue introduced in 6.5 with commit 0baae624630788862bbd654741929007971e9d5b and fixed in 6.12.2 with commit 95792a18da0795300e15075ac05d1915e9066999 Issue introduced in 6.5 with commit 0baae624630788862bbd654741929007971e9d5b and fixed in 6.13-rc1 with commit 2bc96c95070571c6c824e0d4c7783bee25a37876 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-2024-53200 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/amd/display/dc/core/dc_hw_sequencer.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/020002c76147ecfdafe95c44abd3240e216b6316 https://git.kernel.org/stable/c/0dd3d1de7a5957804ccd58c1b252f9e34710e3f6 https://git.kernel.org/stable/c/95792a18da0795300e15075ac05d1915e9066999 https://git.kernel.org/stable/c/2bc96c95070571c6c824e0d4c7783bee25a37876