Ming Lei 364b61818f 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 <john.garry@huawei.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: David Jeffery <djeffery@redhat.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20210511152236.763464-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-05-24 06:47:22 -06:00
..
2021-05-08 21:49:48 -06:00
2021-04-28 14:27:12 -07:00
2020-03-17 20:55:21 +01:00
2021-05-09 13:25:14 -07:00
2020-05-29 16:30:39 -06:00
2021-04-08 10:24:36 -06:00
2020-09-23 09:18:13 -06:00
2020-01-06 20:59:04 -07:00