diff options
| author | Alex Xie <AlexBin.Xie@amd.com> | 2016-11-30 17:19:40 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2016-12-06 18:08:32 -0500 |
| commit | 1cd99a8d97c90e04d526d843f2be950f6e4e3bd2 (patch) | |
| tree | 08a90e16d035a87e91bdb7e64aebab0e262e2912 /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
| parent | drm/amd/powerplay: disable cg pg task when pp uninitialize. (diff) | |
| download | linux-1cd99a8d97c90e04d526d843f2be950f6e4e3bd2.tar.gz linux-1cd99a8d97c90e04d526d843f2be950f6e4e3bd2.zip | |
drm/amd/amdgpu: validate the shadow BO.
Fixes a rare NULL pointer dereference in amdgpu_ttm_bind.
The issue was found by Nicolai Haehnle.
The patch was tested by Nicolai Haehnle.
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions
