In the Linux kernel, the following vulnerability has been resolved:
drm/client: fix null pointer dereference in drmclientmodeset_probe
In drmclientmodesetprobe(), the return value of drmmodeduplicate() is assigned to modeset->mode, which will lead to a possible NULL pointer dereference on failure of drmmode_duplicate(). Add a check to avoid npd.