5.5medium
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before f392c36cebf4c1d6997a4cc2c0f205254acef42a, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before a658ae2173ab74667c009e2550455e6de5b33ddc, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before b6ac46a00188cde50ffba233e6efb366354a1de5, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before 08f45102c81ad8bc9f85f7a25e9f64e128edb87d, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before 2d209b2f862f6b8bff549ede541590a8d119da23, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before 977ee4fe895e1729cd36cc26916bbb10084713d6, from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe before cb520c3f366c77e8d69e4e2e2781a8ce48d98e79 and 1 more Not affected: before 3.3, from 4.19.320 up to 4.19.*, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.103 up to 6.1.* | CVE List |
| linux linux_kernel | from 3.3 before 4.19.320, from 4.20 before 5.4.282, from 5.5 before 5.10.224, from 5.11 before 5.15.165, from 5.16 before 6.1.103, from 6.2 before 6.6.44, from 6.7 before 6.10.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/gma500: corrige la desreferencia del puntero nulo en cdv_intel_lvds_get_modes En cdv_intel_lvds_get_modes(), el valor de retorno de drm_mode_duplicate() se asigna al modo, lo que conducirá a una desreferencia del puntero NULL en caso de falla de drm_mode_duplicate(). Agregue una marca para evitar npd.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42310 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-42310 changed 2026-06-17 | Public domain |