CVE-2024-35788: drm/amd/display: Fix bounds check for dcn35 DcfClocks

Description

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

drm/amd/display: Fix bounds check for dcn35 DcfClocks

[Why]
NumFclkLevelsEnabled is used for DcfClocks bounds check
instead of designated NumDcfClkLevelsEnabled.
That can cause array index out-of-bounds access.

[How]
Use designated variable for dcn35 DcfClocks bounds check.

Classification

CVE ID: CVE-2024-35788

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 17.83% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/c373f233dab44a13752daec13788e2ad3bf86410
https://git.kernel.org/stable/c/f6e163e9c3d50cd167ab9d411ed01b7718177387
https://git.kernel.org/stable/c/2f10d4a51bbcd938f1f02f16c304ad1d54717b96

Timeline