From: Jan Kara <jack@suse.cz>
To: syzbot <syzbot+3622cea378100f45d59f@syzkaller.appspotmail.com>
Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org,
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
tytso@mit.edu, linux-mm@kvack.org,
Linus Torvalds <torvalds@linux-foundation.org>,
Oleg Nesterov <oleg@redhat.com>
Subject: Re: kernel BUG at fs/ext4/inode.c:LINE!
Date: Mon, 31 Aug 2020 12:03:40 +0200 [thread overview]
Message-ID: <20200831100340.GA26519@quack2.suse.cz> (raw)
In-Reply-To: <20200828100755.GG7072@quack2.suse.cz>
On Fri 28-08-20 12:07:55, Jan Kara wrote:
> On Wed 26-08-20 19:48:16, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: c3d8f220 Merge tag 'kbuild-fixes-v5.9' of git://git.kernel..
> > git tree: upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=15f83cb6900000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=bb68b9e8a8cc842f
> > dashboard link: https://syzkaller.appspot.com/bug?extid=3622cea378100f45d59f
> > compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81)
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1287ac96900000
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11c7ac46900000
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+3622cea378100f45d59f@syzkaller.appspotmail.com
> >
> > ------------[ cut here ]------------
> > kernel BUG at fs/ext4/inode.c:2598!
> > invalid opcode: 0000 [#1] PREEMPT SMP KASAN
> > CPU: 1 PID: 27612 Comm: syz-executor879 Not tainted 5.9.0-rc1-syzkaller #0
> > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
> > RIP: 0010:mpage_prepare_extent_to_map+0xd34/0xd40 fs/ext4/inode.c:2598
>
> Doh, so this is:
>
> wait_on_page_writeback(page);
> >>> BUG_ON(PageWriteback(page));
>
> in mpage_prepare_extent_to_map(). So we have PageWriteback() page after we
> have called wait_on_page_writeback() on a locked page. Not sure how this
> could ever happen even less how ext4 could cause this...
I was poking a bit into this and there were actually recent changes into
page bit waiting logic by Linus. Linus, any idea?
Honza
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
next prev parent reply other threads:[~2020-08-31 10:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 2:48 kernel BUG at fs/ext4/inode.c:LINE! syzbot
2020-08-28 10:07 ` Jan Kara
2020-08-31 10:03 ` Jan Kara [this message]
2020-08-31 18:21 ` Linus Torvalds
2020-11-24 4:07 ` Hugh Dickins
2020-11-24 4:26 ` Linus Torvalds
2020-11-24 4:53 ` Linus Torvalds
2020-11-24 6:34 ` Hugh Dickins
2020-11-24 16:46 ` Hugh Dickins
2020-11-24 12:19 ` Matthew Wilcox
2020-11-24 16:28 ` Hugh Dickins
2020-11-24 18:33 ` Matthew Wilcox
2020-11-24 19:00 ` Linus Torvalds
2020-11-24 20:15 ` Matthew Wilcox
2020-11-24 20:34 ` Linus Torvalds
2020-11-24 21:46 ` Hugh Dickins
2020-11-24 23:24 ` Linus Torvalds
2020-11-25 21:30 ` Linus Torvalds
2020-11-25 22:01 ` Linus Torvalds
2020-11-25 9:20 ` Jan Kara
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=20200831100340.GA26519@quack2.suse.cz \
--to=jack@suse.cz \
--cc=adilger.kernel@dilger.ca \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=oleg@redhat.com \
--cc=syzbot+3622cea378100f45d59f@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
/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).