From: Jens Axboe <axboe@kernel.dk>
To: syzbot <syzbot+005b78d4c45263d656dd@syzkaller.appspotmail.com>,
hch@lst.de, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] general protection fault in hctx_lock
Date: Sun, 17 Oct 2021 16:03:39 -0600 [thread overview]
Message-ID: <23531d29-9d96-6744-bab9-797e65379037@kernel.dk> (raw)
In-Reply-To: <000000000000c7c18505ce93467e@google.com>
On 10/17/21 3:40 PM, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 7c832d2f9b95 Add linux-next specific files for 20211015
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=10e9df10b00000
> kernel config: https://syzkaller.appspot.com/x/.config?x=f6ac42766a768877
> dashboard link: https://syzkaller.appspot.com/bug?extid=005b78d4c45263d656dd
> compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1154f80cb00000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1750eeecb00000
>
> The issue was bisected to:
>
> commit f328476e373a7ce4b4d16c48fe85571044e025f5
> Author: Christoph Hellwig <hch@lst.de>
> Date: Tue Oct 12 10:40:45 2021 +0000
>
> blk-mq: cleanup blk_mq_submit_bio
It's a potential use-after-free using rq->mq_hctx after inserting a flush.
I'll fold in a fix, as I'm shuffling things around anyway.
--
Jens Axboe
prev parent reply other threads:[~2021-10-17 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-17 21:40 [syzbot] general protection fault in hctx_lock syzbot
2021-10-17 22:03 ` 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=23531d29-9d96-6744-bab9-797e65379037@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+005b78d4c45263d656dd@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.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