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.
https://git.kernel.org/stable/c/decea8279bec5a35413b2cb8e36951cca308fac0
https://git.kernel.org/stable/c/ac490fea9fe74f9d9975c5d8250c8719750589cd
https://git.kernel.org/stable/c/562d24ac214ba9530d88841088eb6adce5c537b5
https://git.kernel.org/stable/c/261e0fe4e2c99f687114b64b10b98db964b475f4
https://git.kernel.org/stable/c/0fa116a17b69a28712cdf209318e345b676d7f6c