drm/amd/display: Resize MST HDCP per-connector arrays to 32
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 82986fd631fa04bcedaefe11a6b3767601cbe84f · < 261e0fe4e2c99f687114b64b10b98db964b475f4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Resize MST HDCP per-connector arrays to 32
AMDGPU_DM_MAX_DISPLAY_INDEX is 31. It suggest a maximum number of 32 connectors. But the way it's used is like MAX_DISPLAY_COUNT. Hence we're off by one with DRM core, which supports a max of 32 connectors.
Rename AMDGPU_DM_MAX_DISPLAY_INDEX to AMDGPU_DM_MAX_DISPLAY_COUNT to match its actual use, and increase the size to 32 to match the originally intended size.
From the CVE record · Linux
The Linux kernel's AMD display MST HDCP code sizes per-connector arrays for 31 connectors, while DRM supports 32. The input does not establish what an attacker can do or specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with AMD display MST HDCP support should check their versions; affected versions were not provided.