CVE-2024-26648

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

Medium · published March 26, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
12.3
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00224 · 12.3th percentile
Published
2024-03-26T17:50Z
EPSS history
Timeline
  • 26 MAR 17:50Z
    drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()
    cvelistv5