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