drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
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 index may exceed array range within fpu_update_bw_bounding_box
[Why] Coverity reports OVERRUN warning. soc.num_states could be 40. But array range of bw_params->clk_table.entries is 8.
[How] Assert if soc.num_states greater than 8.
From the CVE record · Linux
The Linux kernel's AMD display code can use a state index larger than the eight entries in its clock table. This may cause an out-of-bounds access when the state count exceeds eight; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with AMD display support should check their versions; no affected version range is provided.