drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.156.7.36.8In 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)
From the CVE record · Linux
The Linux kernel’s AMD display eDP replay setup dereferences pointers before checking whether they are NULL. If a NULL pointer reaches this code, it could cause a crash. The input does not specify whether exploitation requires local or network access, authentication, or user interaction.
Teams running the Linux kernel with AMD display support should check their installations; affected versions are not specified.