CVE-2024-42309
JSON

5.5medium

drm/gma500: fix null pointer dereference in psb_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 psb_intel_lvds_get_modes In psb_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 89c78134cc54dff016c83367912eb055637fa50c before 13b5f3ee94bdbdc4b5f40582aab62977905aedee, from 89c78134cc54dff016c83367912eb055637fa50c before d6ad202f73f8edba0cbc0065aa57a79ffe8fdcdc, from 89c78134cc54dff016c83367912eb055637fa50c before 6735d02ead7dd3adf74eb8b70aebd09e0ce78ec9, from 89c78134cc54dff016c83367912eb055637fa50c before 7e52c62ff029f95005915c0a11863b5fb5185c8c, from 89c78134cc54dff016c83367912eb055637fa50c before f70ffeca546452d1acd3a70ada56ecb2f3e7f811, from 89c78134cc54dff016c83367912eb055637fa50c before 46d2ef272957879cbe30a884574320e7f7d78692, from 89c78134cc54dff016c83367912eb055637fa50c before 475a5b3b7c8edf6e583a9eb59cf28ea770602e14, from 89c78134cc54dff016c83367912eb055637fa50c before 2df7aac81070987b0f052985856aa325a38debf6 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_kernelfrom 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.3NVD

Classification

CWE-476

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 psb_intel_lvds_get_modes In psb_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/gma500: corrige la desreferencia del puntero nulo en psb_intel_lvds_get_modes En psb_intel_lvds_get_modes(), el valor de retorno de drm_mode_duplicate() se asigna al modo, lo que conducirá a una posible desreferencia del puntero NULL en caso de falla de drm_mode_duplicate(). Agregue una marca para evitar npd.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42309 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42309 changed 2026-06-17Public domain