From: Jens Axboe <axboe@kernel.dk>
To: Ming Lei <ming.lei@redhat.com>
Cc: linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
stable@vger.kernel.org,
syzbot+825f0f9657d4e528046e@syzkaller.appspotmail.com
Subject: Re: [PATCH] block: fix use-after-free in disk_part_iter_next
Date: Tue, 5 Jan 2021 11:35:33 -0700 [thread overview]
Message-ID: <5ca75477-ca88-01a1-1581-ad2e8ecf3804@kernel.dk> (raw)
In-Reply-To: <20201221043335.2831589-1-ming.lei@redhat.com>
On 12/20/20 9:33 PM, Ming Lei wrote:
> Make sure that bdgrab() is done on the 'block_device' instance before
> referring to it for avoiding use-after-free.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2021-01-05 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-21 4:33 [PATCH] block: fix use-after-free in disk_part_iter_next Ming Lei
2021-01-05 7:51 ` Christoph Hellwig
2021-01-05 18:35 ` Jens Axboe [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=5ca75477-ca88-01a1-1581-ad2e8ecf3804@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=stable@vger.kernel.org \
--cc=syzbot+825f0f9657d4e528046e@syzkaller.appspotmail.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