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 56F3523E340 for ; Wed, 24 Dec 2025 13:10:35 +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=1766581835; cv=none; b=DKsmVe4YZ+tbtDN5Z/aRuI6SVDqTtq9Ycg/AONFy93IASqxQJ6aDazN8Df03ljy/HI1DjHj09CQeiWcwd9mm+G9aSzAM02j6bKCI3gFLH7iNDJPOP6lP8hid9JrUi2FH2KejuEUI4x/GkLE8nA+EJQKOEfAwijrXdDDnFJKS77Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581835; c=relaxed/simple; bh=bfFkkBMryb8ajXqRGYQwe04v+kjvwRxmDwj3bfl/WTQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uCGQuYnA8bLqtKMR+bK1iLUZpPsBmqRMYwpmpW4FD+7EMvNPpBY3DUD3vujfTgyMtfeQ3Ib6CXPWd6pKHRTFSWSDRT6R/mlYtzxKOObRD1fGZ8l60UmIwGJo9VVBAyMPWLLdpd77sBeXj4tP9dVbvs14wrU6A72/y/knl8CQAT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RyZDSYy4; 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="RyZDSYy4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D58DEC4CEFB; Wed, 24 Dec 2025 13:10:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581835; bh=bfFkkBMryb8ajXqRGYQwe04v+kjvwRxmDwj3bfl/WTQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RyZDSYy4yXRgws+BvlmRgpylwqF87EQHJvz2LsUnVPdEZ4yBlEI6PN45xg4N7alPj a9TMr4QS8Q1gkM1K4fnxsQDMmijWLUFieInzen0Wz40VsgZzWtlLiMz6fw3QfDUnE2 0YO3I1Qi5w+RF1PAQkgXi52/r5zrOLJeldS6abZ8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54122: drm/msm/dpu: Add check for cstate Date: Wed, 24 Dec 2025 14:07:19 +0100 Message-ID: <2025122417-CVE-2023-54122-b6f8@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5c/jGse/LySKCARpSum/PK1aK2wrwaLke2W0AFXf964=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneTz3Zp8QKrLku59a+kc3NO6qO12MzSwnf7QcyLpWnn x+KvB3aEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5p8ow3zlbSPAax2PptTfe anxy99R7FRnxh2HBjgmHl156aBb/ij35GGO7rHZG8IbbAA== 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: drm/msm/dpu: Add check for cstate As kzalloc may fail and return NULL pointer, it should be better to check cstate in order to avoid the NULL pointer dereference in __drm_atomic_helper_crtc_reset. Patchwork: https://patchwork.freedesktop.org/patch/514163/ The Linux kernel CVE team has assigned CVE-2023-54122 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.4.235 with commit a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.10.173 with commit 31f2f8de0ea7387cde18a24f94ba5e0b886b9842 Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.15.99 with commit d4ba50614cb3f0686bbdb505af685d78e75861dc Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.1.16 with commit 42442d42c57b9fbc35cb5ef72c7e5347c5f7d082 Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.2.3 with commit a52e5a002d18bffabff66f6f59a74f8e9aac5afe Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.3 with commit c96988b7d99327bb08bd9efd29a203b22cd88ace 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-54122 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/msm/disp/dpu1/dpu_crtc.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/a6afb8293ec0932f4ed0b7aecfc0ccc00f44dc2b https://git.kernel.org/stable/c/31f2f8de0ea7387cde18a24f94ba5e0b886b9842 https://git.kernel.org/stable/c/d4ba50614cb3f0686bbdb505af685d78e75861dc https://git.kernel.org/stable/c/42442d42c57b9fbc35cb5ef72c7e5347c5f7d082 https://git.kernel.org/stable/c/a52e5a002d18bffabff66f6f59a74f8e9aac5afe https://git.kernel.org/stable/c/c96988b7d99327bb08bd9efd29a203b22cd88ace