[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ab2c4655-0ae0-f5c8-2d59-5e699fe9059e@kernel.dk>
Date: Fri, 9 Oct 2020 12:46:43 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Yang Yang <yang.yang@...o.com>,
Bart Van Assche <bvanassche@....org>,
Hannes Reinecke <hare@...e.com>,
Ming Lei <ming.lei@...hat.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: onlyfever@...oud.com
Subject: Re: [PATCH] blk-mq: move cancel of hctx->run_work to the front of
blk_exit_queue
On 10/9/20 2:00 AM, Yang Yang wrote:
> blk_exit_queue will free elevator_data, while blk_mq_run_work_fn
> will access it. Move cancel of hctx->run_work to the front of
> blk_exit_queue to avoid use-after-free.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists