CVE-2024-52557

drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()

Medium · published February 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
7.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()

This patch fixes a potential integer overflow in the zynqmp_dp_rate_get()

The issue comes up when the expression

drm_dp_bw_code_to_link_rate(dp->test.bw_code) * 10000 is evaluated using 32-bit

Now the constant is a compatible 64-bit type.

Resolves coverity issues: CID 1636340 and CID 1635811

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.5th percentile
Published
2025-02-27T02:18Z
EPSS history
Timeline
  • 27 FEB 02:18Z
    drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()
    cvelistv5