Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-53284

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

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]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to < 3723c4dbcd14cc96771000ce0b0540801e6ba059affected
  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to < 5ee51b19855c5dd72aca57b8014f3b70d7798733affected
  • 77b001acdcfeb892842caac49fb7f0d286b29c43 to < 21e9a838f505178e109ccb3bf19d7808eb0326f4affected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.1.16 to ≤ 6.1.*unaffected
  • 6.2.3 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References