Fix Incorrect Size Calculation for Loop in drm/amd/display
CVE-2024-46729
Currently unrated 🤨
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix incorrect size calculation for loop [WHY] fe_clk_en has size of 5 but sizeof(fe_clk_en) has byte size 20 which is lager than the array size. [HOW] Divide byte size 20 by its element size. This fixes 2 OVERRUN issues reported by Coverity.
Affected Version(s)
Linux < 712be65b3b37
Linux < 3941a3aa4b65
Linux <= 6.10.*
Timeline
Vulnerability published.
Vulnerability Reserved.
Collectors
NVD DatabaseMitre Database