[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091516-CVE-2023-53239-9ea0@gregkh>
Date: Mon, 15 Sep 2025 16:22:13 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53239: drm/msm/mdp5: Add check for kzalloc
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists