linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* Re: [f2fs-dev] [syzbot] [netfs?] kernel BUG in folio_unlock (3)
       [not found] <67b75198.050a0220.14d86d.02e2.GAE@google.com>
@ 2025-05-31 23:20 ` syzbot
  2025-06-01  0:26   ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2025-05-31 23:20 UTC (permalink / raw)
  To: asmadeus, chao, dhowells, hch, hdanton, jaegeuk, jlayton,
	linux-f2fs-devel, linux-fsdevel, linux-kernel, netfs,
	syzkaller-bugs, v9fs, willy

syzbot has bisected this issue to:

commit 80f31d2a7e5f4efa7150c951268236c670bcb068
Author: Christoph Hellwig <hch@lst.de>
Date:   Thu May 8 05:14:32 2025 +0000

    f2fs: return bool from __write_node_folio

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=1129d00c580000
start commit:   0f70f5b08a47 Merge tag 'pull-automount' of git://git.kerne..
git tree:       upstream
final oops:     https://syzkaller.appspot.com/x/report.txt?x=1329d00c580000
console output: https://syzkaller.appspot.com/x/log.txt?x=1529d00c580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=22765942f2e2ebcf
dashboard link: https://syzkaller.appspot.com/bug?extid=c0dc46208750f063d0e0
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15bfe970580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=13bfe970580000

Reported-by: syzbot+c0dc46208750f063d0e0@syzkaller.appspotmail.com
Fixes: 80f31d2a7e5f ("f2fs: return bool from __write_node_folio")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] [syzbot] [netfs?] kernel BUG in folio_unlock (3)
  2025-05-31 23:20 ` [f2fs-dev] [syzbot] [netfs?] kernel BUG in folio_unlock (3) syzbot
@ 2025-06-01  0:26   ` Matthew Wilcox
  2025-06-11 14:08     ` Aleksandr Nogikh via Linux-f2fs-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2025-06-01  0:26 UTC (permalink / raw)
  To: syzbot
  Cc: v9fs, hdanton, syzkaller-bugs, asmadeus, jlayton, linux-kernel,
	linux-f2fs-devel, dhowells, netfs, linux-fsdevel, jaegeuk, hch

On Sat, May 31, 2025 at 04:20:02PM -0700, syzbot wrote:
> syzbot has bisected this issue to:
> 
> commit 80f31d2a7e5f4efa7150c951268236c670bcb068
> Author: Christoph Hellwig <hch@lst.de>
> Date:   Thu May 8 05:14:32 2025 +0000

That's not possible; this commit is after the original report.

That said, there _is_ a double folio_unlock() in this patch, which
I'm about to send a fix for.  It's just not fixing the original report.


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] [syzbot] [netfs?] kernel BUG in folio_unlock (3)
  2025-06-01  0:26   ` Matthew Wilcox
@ 2025-06-11 14:08     ` Aleksandr Nogikh via Linux-f2fs-devel
  0 siblings, 0 replies; 3+ messages in thread
From: Aleksandr Nogikh via Linux-f2fs-devel @ 2025-06-11 14:08 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: v9fs, hdanton, syzkaller-bugs, asmadeus, jlayton, linux-kernel,
	linux-f2fs-devel, dhowells, syzbot, netfs, linux-fsdevel, jaegeuk,
	hch

On Sun, Jun 1, 2025 at 2:26 AM Matthew Wilcox <willy@infradead.org> wrote:
>
> On Sat, May 31, 2025 at 04:20:02PM -0700, syzbot wrote:
> > syzbot has bisected this issue to:
> >
> > commit 80f31d2a7e5f4efa7150c951268236c670bcb068
> > Author: Christoph Hellwig <hch@lst.de>
> > Date:   Thu May 8 05:14:32 2025 +0000
>
> That's not possible; this commit is after the original report.
>
> That said, there _is_ a double folio_unlock() in this patch, which
> I'm about to send a fix for.  It's just not fixing the original report.
>

Thanks for bringing this up!
The underlying problem is that syzbot has merged several unrelated
kernel crashes into one bug report (`kernel BUG in folio_unlock` is
just a too generic title). The reported bisection result seems to be
correct, but it refers to only one of those incorrectly merged bugs.

I've just sent a fix for the syzbot's crash report parsing code [1].
It won't affect this specific bug report, but once the new code is
deployed, syzbot will re-report the two underlying findings
separately.

[1] https://github.com/google/syzkaller/pull/6081

-- 
Aleksandr


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-11 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <67b75198.050a0220.14d86d.02e2.GAE@google.com>
2025-05-31 23:20 ` [f2fs-dev] [syzbot] [netfs?] kernel BUG in folio_unlock (3) syzbot
2025-06-01  0:26   ` Matthew Wilcox
2025-06-11 14:08     ` Aleksandr Nogikh via Linux-f2fs-devel

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).