CVE-2023-53284

drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()

State
Published
Severity
5.5 Medium
Published
Sep 16, 2025
Updated
May 11, 2026
Reserved
Sep 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()

Because of the possilble failure of devm_kzalloc(), dpu_wb_conn might be NULL and will cause null pointer dereference later.

Therefore, it might be better to check it and directly return -ENOMEM.

Patchwork: https://patchwork.freedesktop.org/patch/512277/ [DB: fixed typo in commit message]

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to before 3723c4dbcd14cc96771000ce0b0540801e6ba059Affected
  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to before 5ee51b19855c5dd72aca57b8014f3b70d7798733Affected
  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to before 21e9a838f505178e109ccb3bf19d7808eb0326f4Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.