diff options
author | Ernst Sjöstrand <ernstp@gmail.com> | 2021-09-02 09:50:27 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-02 12:39:41 -0400 |
commit | cd54323e762ddda11552ee5258d35a3a7cc5cc0f (patch) | |
tree | 33c6a75aa4af7aa1f41588112e37d9f0d7229b07 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 9ad544670514e2a79aad7567295c198609d999ee (diff) |
drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
Seems like newer cards can have even more instances now.
Found by UBSAN: array-index-out-of-bounds in
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:318:29
index 8 is out of range for type 'uint32_t *[8]'
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1697
Cc: stable@vger.kernel.org
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions