summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
diff options
context:
space:
mode:
authorAlexander Richards <electrodeyt@gmail.com>2024-01-11 16:04:48 +0100
committerAlex Deucher <alexander.deucher@amd.com>2024-01-15 18:35:37 -0500
commit4630d5031cd87438cc14a4619b8d4148eef1405e (patch)
treeb38dcfdb2613a215e81b60833525f21e187ba5eb /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
parenta25dea474a24ee7d1a2688f13092357d947dee0f (diff)
drm/amdgpu: check PS, WS index
Theoretically, it would be possible for a buggy or malicious VBIOS to overwrite past the bounds of the passed parameters (or its own workspace); add bounds checking to prevent this from happening. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3093 Signed-off-by: Alexander Richards <electrodeyt@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions