aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2025-03-26 07:58:38 +0000
committerAlex Deucher <[email protected]>2025-04-07 19:18:59 +0000
commit5df0d6addb7e9b6f71f7162d1253762a5be9138e (patch)
tree9e69991b1528d75061678eaa103174af4f22783f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdkfd: Drop workaround for GC v9.4.3 revID 0 (diff)
downloadkernel-5df0d6addb7e9b6f71f7162d1253762a5be9138e.tar.gz
kernel-5df0d6addb7e9b6f71f7162d1253762a5be9138e.zip
drm/amdgpu: Add basic validation for RAS header
If RAS header read from EEPROM is corrupted, it could result in trying to allocate huge memory for reading the records. Add some validation to header fields. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions