drm/amd/display: Check link_res->hpo_dp_link_enc before using it
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
[WHAT & HOW] Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res without initializing hpo_dp_link_enc and it is necessary to check for null before dereferencing.
This fixes 2 FORWARD_NULL issues reported by Coverity.
From the CVE record · Linux
The Linux kernel’s AMD display code can dereference an uninitialized hpo_dp_link_enc pointer when enabling or disabling a DisplayPort link PHY. The input does not describe an attacker capability or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with AMD display support should check their exposure; affected versions are not specified.