# CVE-2024-26648: drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-26T17:50:01.635Z
- Modified: 2026-06-17T07:17:59.980Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: before 6.6.15; from 6.7 before 6.7.3

## References

- <https://git.kernel.org/stable/c/22ae604aea14756954e1c00ae653e34d2afd2935> (patch)
- <https://git.kernel.org/stable/c/c02d257c654191ecda1dc1af6875d527e85310e7> (patch)
- <https://git.kernel.org/stable/c/7073934f5d73f8b53308963cee36f0d389ea857c> (patch)

## Sources

- CVE List: [CVE-2024-26648](https://www.cve.org/CVERecord?id=CVE-2024-26648), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26648](https://nvd.nist.gov/vuln/detail/CVE-2024-26648), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26648 · Whole record: https://cve.day/CVE-2024-26648.json · Rebuilt by cve.day 2026-11-25T22:58:37.918Z
