CVE-2024-46729Published Sep 18, 2024 · Sep 18Updated Oct 28
drm/amd/display: Fix incorrect size calculation for loop
Linux
High7.8Fix available
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 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.
From the CVE record · Linux
The Linux kernel’s AMD display driver uses an incorrect loop bound for the fe_clk_en array, causing two reported overruns. The input does not specify how an attacker could trigger them or whether access or user interaction is required.
Engineers running Linux kernels with the AMD display driver should check their systems; affected versions are not specified.