CVE-2024-46729

drm/amd/display: Fix incorrect size calculation for loop

published September 18, 2024

CVSS
—
EPSS
0%
Percentile
10.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00212 · 10.9th percentile
Published
2024-09-18T06:32Z
EPSS history
Timeline
  • 18 SEP 06:32Z
    drm/amd/display: Fix incorrect size calculation for loop
    cvelistv5