]> Git Repo - linux.git/commit
blk-mq: clearing flush request reference in tags->rqs[]
authorMing Lei <[email protected]>
Tue, 11 May 2021 15:22:36 +0000 (23:22 +0800)
committerJens Axboe <[email protected]>
Mon, 24 May 2021 12:47:22 +0000 (06:47 -0600)
commit364b61818f65045479e42e76ed8dd6f051778280
tree0457d1bbba7f4e9f8d0077974c580b84b7d3d2bf
parentbd63141d585bef14f4caf111f6d0e27fe2300ec6
blk-mq: clearing flush request reference in tags->rqs[]

Before we free request queue, clearing flush request reference in
tags->rqs[], so that potential UAF can be avoided.

Based on one patch written by David Jeffery.

Tested-by: John Garry <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: David Jeffery <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c
This page took 0.051406 seconds and 4 git commands to generate.