drm/amd/display: Add null check in resource_log_pipe_topology_update
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add null check in resource_log_pipe_topology_update
[WHY] When switching from "Extend" to "Second Display Only" we sometimes call resource_get_otg_master_for_stream on a stream for the eDP, which is disconnected. This leads to a null pointer dereference.
[HOW] Added a null check in dc_resource.c/resource_log_pipe_topology_update.
From the CVE record · Linux
The Linux kernel AMD display driver can dereference a null pointer when switching from “Extend” to “Second Display Only” with a disconnected eDP display. The issue occurs during this display-mode change; the input does not describe a remote attack or authentication requirement.
Engineers running the Linux kernel with AMD display support should check whether their kernel includes the fix; affected versions are not specified.