drm/amd/display: Assign normalized_pix_clk when color depth = 14
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c · < 04f90b505ad3a6eed474bbaa03167095fef5203a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Assign normalized_pix_clk when color depth = 14
[WHY & HOW] A warning message "WARNING: CPU: 4 PID: 459 at ... /dc_resource.c:3397 calculate_phy_pix_clks+0xef/0x100 [amdgpu]" occurs because the display_color_depth == COLOR_DEPTH_141414 is not handled. This is observed in Radeon RX 6600 XT.
It is fixed by assigning pix_clk * (14 * 3) / 24 - same as the rests.
Also fixes the indentation in get_norm_pix_clk.
(cherry picked from commit 274a87eb389f58eddcbc5659ab0b180b37e92775)
From the CVE record · Linux
The Linux kernel’s AMD display code does not handle 14-bit color depth when calculating the normalized pixel clock. This can trigger a kernel warning, observed on a Radeon RX 6600 XT. The input does not describe an attacker, access requirements, or user interaction.
Anyone running the Linux kernel with AMD display hardware should check their installation; affected versions were not provided.