CVE-2024-42310 Information

Description

In the Linux kernel the following vulnerability has been resolved:

drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

In cdv_intel_lvds_get_modes() the return value of drm_mode_duplicate() is assigned to mode which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Reference

https://git.kernel.org/stable/c/e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56 https://git.kernel.org/stable/c/2d209b2f862f6b8bff549ede541590a8d119da23 https://git.kernel.org/stable/c/977ee4fe895e1729cd36cc26916bbb10084713d6 https://git.kernel.org/stable/c/cb520c3f366c77e8d69e4e2e2781a8ce48d98e79

Share on: