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]
https://git.kernel.org/stable/c/5ee51b19855c5dd72aca57b8014f3b70d7798733
https://git.kernel.org/stable/c/3723c4dbcd14cc96771000ce0b0540801e6ba059
https://git.kernel.org/stable/c/21e9a838f505178e109ccb3bf19d7808eb0326f4