drm/amd/display: increase max link count and fix link->enc NULL pointer access
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.12.566.17.66.18In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: increase max link count and fix link->enc NULL pointer access
[why] 1.) dc->links[MAX_LINKS] array size smaller than actual requested. max_connector + max_dpia + 4 virtual = 14. increase from 12 to 14.
2.) hw_init() access null LINK_ENC for dpia non display_endpoint.
(cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)
From the CVE record · Linux
The AMD display component in the Linux kernel has an undersized link array and can access a NULL link encoder during hardware initialization for a DPia non-display endpoint. The input does not specify how an attacker could trigger this issue, or whether network access, authentication, or user interaction is required.
Operators running the Linux kernel with AMD display support should check their installations; affected versions are not specified.