aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2020-11-16 15:23:47 +0000
committerJens Axboe <[email protected]>2020-11-16 15:28:02 +0000
commit6f117cb854a44a79898d844e6ae3fd23bd94e786 (patch)
tree932f2aed75dd3d0c19d57dc55a8143e5858379db /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentblk-cgroup: fix a hd_struct leak in blkcg_fill_root_iostats (diff)
downloadkernel-6f117cb854a44a79898d844e6ae3fd23bd94e786.tar.gz
kernel-6f117cb854a44a79898d844e6ae3fd23bd94e786.zip
s390/dasd: fix null pointer dereference for ERP requests
When requeueing all requests on the device request queue to the blocklayer we might get to an ERP (error recovery) request that is a copy of an original CQR. Those requests do not have blocklayer request information or a pointer to the dasd_queue set. When trying to access those data it will lead to a null pointer dereference in dasd_requeue_all_requests(). Fix by checking if the request is an ERP request that can simply be ignored. The blocklayer request will be requeued by the original CQR that is on the device queue right behind the ERP request. Fixes: 9487cfd3430d ("s390/dasd: fix handling of internal requests") Cc: <[email protected]> #4.16 Signed-off-by: Stefan Haberland <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions