# CVE-2023-53239: drm/msm/mdp5: Add check for kzalloc

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:22:13.289Z
- Modified: 2026-06-17T06:44:36.030Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 1cff7440a86e04a613665803b42034c467f035fa before 3975ea6eaffe26aec634b5c473e51dc76e73af62; from 1cff7440a86e04a613665803b42034c467f035fa before 49907c8873826ee771ba0ca1629e809c6479f617; from 1cff7440a86e04a613665803b42034c467f035fa before 82943a0730e00c14b03e25a4b2a1a9477ae89d7b; from 1cff7440a86e04a613665803b42034c467f035fa before bc579a2ee8b2e20c152b24b437d094832d8c9c9e; from 1cff7440a86e04a613665803b42034c467f035fa before 37ff771ed008b9cbffd0eab77985968364694ce3; from 1cff7440a86e04a613665803b42034c467f035fa before 13fcfcb2a9a4787fe4e49841d728f6f2e9fa6911; 5.3 (not affected: before 5.3; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 5.3 before 5.4.235; from 5.5 before 5.10.173; from 5.11 before 5.15.99; from 5.16 before 6.1.16; from 6.2 before 6.2.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3975ea6eaffe26aec634b5c473e51dc76e73af62> (patch)
- <https://git.kernel.org/stable/c/49907c8873826ee771ba0ca1629e809c6479f617> (patch)
- <https://git.kernel.org/stable/c/82943a0730e00c14b03e25a4b2a1a9477ae89d7b> (patch)
- <https://git.kernel.org/stable/c/bc579a2ee8b2e20c152b24b437d094832d8c9c9e> (patch)
- <https://git.kernel.org/stable/c/37ff771ed008b9cbffd0eab77985968364694ce3> (patch)
- <https://git.kernel.org/stable/c/13fcfcb2a9a4787fe4e49841d728f6f2e9fa6911> (patch)

## Sources

- CVE List: [CVE-2023-53239](https://www.cve.org/CVERecord?id=CVE-2023-53239), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53239](https://nvd.nist.gov/vuln/detail/CVE-2023-53239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53239 · Whole record: https://cve.day/CVE-2023-53239.json · Rebuilt by cve.day 2026-11-25T22:58:34.791Z
