aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2017-02-24 20:19:32 +0000
committerJens Axboe <[email protected]>2017-02-24 20:19:32 +0000
commit61febef40bfe8ab68259d8545257686e8a0d91d1 (patch)
tree94d52c7e6d62b1f7381fc615c8964e0751e7ca08 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentblk-mq-sched: separate mark hctx and queue restart operations (diff)
downloadkernel-61febef40bfe8ab68259d8545257686e8a0d91d1.tar.gz
kernel-61febef40bfe8ab68259d8545257686e8a0d91d1.zip
dm-rq: don't dereference request payload after ending request
Bart reported a case where dm would crash with use-after-free poison. This is due to dm_softirq_done() accessing memory associated with a request after calling end_request on it. This is most visible on !blk-mq, since we free the memory immediately for that case. Reported-by: Bart Van Assche <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Fixes: eb8db831be80 ("dm: always defer request allocation to the owner of the request_queue") Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions