aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2019-12-25 17:55:30 +0000
committerVinod Koul <[email protected]>2019-12-27 06:36:06 +0000
commitb0b5ce1010ffc50015eaec72b0028aaae3f526bb (patch)
tree9ee0b88bc93b8dd777a2c2d95b95863a164bf5b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdmaengine: virt-dma: Fix access after free in vchan_complete() (diff)
downloadkernel-b0b5ce1010ffc50015eaec72b0028aaae3f526bb.tar.gz
kernel-b0b5ce1010ffc50015eaec72b0028aaae3f526bb.zip
ioat: ioat_alloc_ring() failure handling.
If dma_alloc_coherent() returns NULL in ioat_alloc_ring(), ring allocation must not proceed. Until now, if the first call to dma_alloc_coherent() in ioat_alloc_ring() returned NULL, the processing could proceed, failing with NULL-pointer dereferencing further down the line. Signed-off-by: Alexander Barabash <[email protected]> Acked-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions