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 169C31C8631 for ; Mon, 15 Sep 2025 14:26: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=1757946395; cv=none; b=E0aNmdWNZHhTt1DsadH5345dTsP7azjLcDJAwOqFpJD4uzBlvaJFzTZKkrXbqYwtH7eYSTREOQik0WbQkPGHcCbIhrwlpIHwU2aCfSYcTPyWZFwVt2GMKGceCCiFJo5OflzmBFaI0mGzkkC7xCf+62vhDUEPy97XzrMLvI/fixw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946395; c=relaxed/simple; bh=spoSXfVdRbu6tozDqffZYXiAJnKbQGM4DUa3BuVZATU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r8GVCdyZQbyiI480FmbvBszRo92MAc9612MABGrimYEZ4/LCSRGR5RznkY6ygICGcsyLtRoPZF9fNXFaVprTpoDPMeJQ4sAab3iExHwVlt6dcczASaqOu4j+oabA7c4y2Ss3bevwKYIhE0bE5qnC8skWPYDXw173QjrKJfecqb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j6dC2EyJ; 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="j6dC2EyJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B28FC4CEF7; Mon, 15 Sep 2025 14:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757946395; bh=spoSXfVdRbu6tozDqffZYXiAJnKbQGM4DUa3BuVZATU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=j6dC2EyJor0Y2hv/sqjlSF5gPJbiHC+rmFso2RF2qPhASufR90Ms39danvfblKxeZ 03bNil82E1gSu8r7rTwZh0jmKGMirSY/gqUfQ6wfD67vdYgg3wZUiabA7HdTsOqm+v JdSdDeM2n0OH0Uo+eLDWZKyFTwNqiuIpfi9W4mGQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53239: drm/msm/mdp5: Add check for kzalloc Date: Mon, 15 Sep 2025 16:22:13 +0200 Message-ID: <2025091516-CVE-2023-53239-9ea0@gregkh> X-Mailer: git-send-email 2.51.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=2870; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GF6OSHnb20cCTx2KpASyA3kr2+L2qmn2JcVVvydtEJw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknFO7IlE56ztTS8PXs+b1nXFTPZL+6U8n5MHAvz4yND OlbzL9HdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEflkwzHfTSl3U9e/m0/oL 1z8dqjq16IqSFjPDXAGWbCVdv3UBFq/uW4bueRpz3+9PDQA= 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/mdp5: Add check for kzalloc As kzalloc may fail and return NULL pointer, it should be better to check the return value in order to avoid the NULL pointer dereference. Patchwork: https://patchwork.freedesktop.org/patch/514154/ The Linux kernel CVE team has assigned CVE-2023-53239 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.4.235 with commit 3975ea6eaffe26aec634b5c473e51dc76e73af62 Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.10.173 with commit 49907c8873826ee771ba0ca1629e809c6479f617 Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 5.15.99 with commit 82943a0730e00c14b03e25a4b2a1a9477ae89d7b Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.1.16 with commit bc579a2ee8b2e20c152b24b437d094832d8c9c9e Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.2.3 with commit 37ff771ed008b9cbffd0eab77985968364694ce3 Issue introduced in 5.3 with commit 1cff7440a86e04a613665803b42034c467f035fa and fixed in 6.3 with commit 13fcfcb2a9a4787fe4e49841d728f6f2e9fa6911 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-53239 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/mdp5/mdp5_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/3975ea6eaffe26aec634b5c473e51dc76e73af62 https://git.kernel.org/stable/c/49907c8873826ee771ba0ca1629e809c6479f617 https://git.kernel.org/stable/c/82943a0730e00c14b03e25a4b2a1a9477ae89d7b https://git.kernel.org/stable/c/bc579a2ee8b2e20c152b24b437d094832d8c9c9e https://git.kernel.org/stable/c/37ff771ed008b9cbffd0eab77985968364694ce3 https://git.kernel.org/stable/c/13fcfcb2a9a4787fe4e49841d728f6f2e9fa6911