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.
https://git.kernel.org/stable/c/aba188d6f4ebaf52acf13f204db2bd2c22072504
https://git.kernel.org/stable/c/4003bac784380fed1f94f197350567eaa73a409d
https://git.kernel.org/stable/c/188fd1616ec43033cedbe343b6579e9921e2d898