On Fri, 08 Sep 2023 08:57:02 +0800, chengming.zhou@xxxxxxxxx wrote: > When nr_hw_queues shrink, we free the excess tags before realloc > hw_ctxs for each queue, during that we may need to access those > tags, like blk_mq_tag_idle(hctx) will access queue shared tags. > > So slab-use-after-free caused and reported by KASAN. Fix it by > moving the releasing of excess tags to the end. > > [...] Applied, thanks! [1/1] blk-mq: fix tags UAF when shrink nr_hw_queues (no commit info) Best regards, -- Jens Axboe