CVE Database›CVE-2024-46729

CVE-2024-46729

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

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · September 18, 2024

Updated · November 21, 2025

Description

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-130 · Improper Handling of Length Parameter Inconsistency