commit | 364b61818f65045479e42e76ed8dd6f051778280 | [log] [tgz] |
---|---|---|
author | Ming Lei <[email protected]> | Tue May 11 23:22:36 2021 +0800 |
committer | Jens Axboe <[email protected]> | Mon May 24 06:47:22 2021 -0600 |
tree | 0457d1bbba7f4e9f8d0077974c580b84b7d3d2bf | |
parent | bd63141d585bef14f4caf111f6d0e27fe2300ec6 [diff] |
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]>