CVE-2024-26648
JSON

5.5medium

drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay() In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay' was dereferenced before the pointer 'link' & 'replay' NULL check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933)

Affected

Product or packageVersionsReported by
Linux Linuxfrom c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 before 22ae604aea14756954e1c00ae653e34d2afd2935, from c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 before c02d257c654191ecda1dc1af6875d527e85310e7, from c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 before 7073934f5d73f8b53308963cee36f0d389ea857c, 6.6
Not affected: before 6.6, from 6.6.15 up to 6.6.*, from 6.7.3 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelbefore 6.6.15, from 6.7 before 6.7.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/amd/display: Fix variable deferencing before NULL check in edp_setup_replay() In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay' was dereferenced before the pointer 'link' & 'replay' NULL check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933)

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/amd/display: se corrigió la diferenciación de variables antes de la verificación NULL en edp_setup_replay() En edp_setup_replay(), se eliminó la referencia a 'struct dc *dc' y 'struct dmub_replay *replay' antes de la comprobación NULL del puntero 'enlace' y 'repetición'. Corrige lo siguiente: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() advertencia: variable desreferenciada antes de marcar 'enlace' (ver línea 933)

References

Sources

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