From: John Garry <john.garry@huawei.com>
To: Ming Lei <ming.lei@redhat.com>
Cc: "axboe@kernel.dk" <axboe@kernel.dk>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
Christoph Hellwig <hch@infradead.org>
Subject: Re: [REPORT] BUG: KASAN: use-after-free in bt_iter+0x80/0xf8
Date: Wed, 19 Aug 2020 17:48:41 +0100 [thread overview]
Message-ID: <165cddcd-ad2c-7022-cae2-7995db39e570@huawei.com> (raw)
In-Reply-To: <20200819142147.GA2795390@T590>
On 19/08/2020 15:21, Ming Lei wrote:
> I guess that elevator switch may have to be involved in your reproducer, stale
> request which are freed before switching to new elevator can stay in tags->rqs[],
> then these stale requests are retrieved when reading iostat before old request slots in
> tags->rqs[] are reset.
Yeah, just switching -> "none" seems to do it. If I hack the elevator
code to default to "none", then no issue.
Thanks
prev parent reply other threads:[~2020-08-19 16:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 12:03 [REPORT] BUG: KASAN: use-after-free in bt_iter+0x80/0xf8 John Garry
2020-08-18 18:19 ` John Garry
2020-08-19 0:00 ` Ming Lei
2020-08-19 7:43 ` John Garry
2020-08-19 8:58 ` Ming Lei
2020-08-19 10:14 ` John Garry
2020-08-19 14:21 ` Ming Lei
2020-08-19 16:48 ` John Garry [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=165cddcd-ad2c-7022-cae2-7995db39e570@huawei.com \
--to=john.garry@huawei.com \
--cc=axboe@kernel.dk \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).