drm/amd/display: Increase array size of dummy_boolean
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: Increase array size of dummy_boolean
[WHY] dml2_core_shared_mode_support and dml_core_mode_support access the third element of dummy_boolean, i.e. hw_debug5 = &s->dummy_boolean[2], when dummy_boolean has size of 2. Any assignment to hw_debug5 causes an OVERRUN.
[HOW] Increase dummy_boolean's array size to 3.
This fixes 2 OVERRUN issues reported by Coverity.
From the CVE record · Linux
The Linux kernel's AMD display mode-support code accesses a third element in a two-element array, so assigning to it causes an array overrun. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with AMD display support should check whether their kernel includes the fix; affected versions are not specified.