Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 712be65b3b372a82bff0865b9c090147764bf1c4; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 3941a3aa4b653b69876d894d08f3fff1cc965267 |
| Linux / Linux | affected 4.15; unaffected 0 before 4.15; unaffected 6.10.9 through 6.10.*; unaffected 6.11 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/712be65b3b372a82bff0865b9c090147764bf1c4
- https://git.kernel.org/stable/c/3941a3aa4b653b69876d894d08f3fff1cc965267
ADP enrichment
No English description supplied.
No references supplied.