{"id":"CVE-2024-42310","summary":"drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes\n\nIn cdv_intel_lvds_get_modes(), the return value of drm_mode_duplicate()\nis assigned to mode, which will lead to a NULL pointer dereference on\nfailure of drm_mode_duplicate(). Add a check to avoid npd.","modified":"2026-05-28T03:54:27.030805362Z","published":"2024-08-17T09:09:14.820Z","related":["SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42310.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08f45102c81ad8bc9f85f7a25e9f64e128edb87d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d209b2f862f6b8bff549ede541590a8d119da23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/977ee4fe895e1729cd36cc26916bbb10084713d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a658ae2173ab74667c009e2550455e6de5b33ddc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6ac46a00188cde50ffba233e6efb366354a1de5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb520c3f366c77e8d69e4e2e2781a8ce48d98e79"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f392c36cebf4c1d6997a4cc2c0f205254acef42a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42310.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42310"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6a227d5fd6c4abe6a9226a40f6981825e9da5fbe"},{"fixed":"f392c36cebf4c1d6997a4cc2c0f205254acef42a"},{"fixed":"a658ae2173ab74667c009e2550455e6de5b33ddc"},{"fixed":"b6ac46a00188cde50ffba233e6efb366354a1de5"},{"fixed":"08f45102c81ad8bc9f85f7a25e9f64e128edb87d"},{"fixed":"e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56"},{"fixed":"2d209b2f862f6b8bff549ede541590a8d119da23"},{"fixed":"977ee4fe895e1729cd36cc26916bbb10084713d6"},{"fixed":"cb520c3f366c77e8d69e4e2e2781a8ce48d98e79"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42310.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"4.19.320"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.282"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42310.json"}}],"schema_version":"1.7.5"}