CVE-2024-26648

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

State
Published
Severity
5.5 Medium
Published
Mar 26, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 to before 22ae604aea14756954e1c00ae653e34d2afd2935Affected
  • c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 to before c02d257c654191ecda1dc1af6875d527e85310e7Affected
  • c7ddc0a800bc9f681a18c3bdd9f06b61adfabc11 to before 7073934f5d73f8b53308963cee36f0d389ea857cAffected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.15 through 6.6.*Not affected
  • 6.7.3 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.