drm/amd/display: fix array index out of bound error in DCN32 DML
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: fix array index out of bound error in DCN32 DML
[Why&How] LinkCapacitySupport array is indexed with the number of voltage states and not the number of max DPPs. Fix the error by changing the array declaration to use the correct (larger) array size of total number of voltage states.
From the CVE record · Linux
The Linux kernel's AMD display DCN32 DML code sizes the LinkCapacitySupport array using the maximum number of DPPs rather than the larger number of voltage states, allowing an out-of-bounds array index. The input does not establish whether an attacker can trigger the error or specify access, authentication, or user-interaction requirements.
Anyone running a Linux kernel with AMD display DCN32 DML should check their version; affected versions are not specified.