On Fri, 22 Oct 2021 16:12:20 +0800, John Garry wrote: > We should not reference the queue tagset in blk_mq_sched_tags_teardown() > (see function comment) for the blk-mq flags, so use the passed flags > instead. > > This solves a use-after-free, similarly fixed earlier (and since broken > again) in commit f0c1c4d2864e ("blk-mq: fix use-after-free in > blk_mq_exit_sched"). > > [...] Applied, thanks! [1/1] blk-mq-sched: Don't reference queue tagset in blk_mq_sched_tags_teardown() commit: 8bdf7b3fe1f48a2c1c212d4685903bba01409c0e Best regards, -- Jens Axboe