syzbot


WARNING in nilfs_btree_assign

Status: upstream: reported C repro on 2022/10/28 16:42
Subsystems: nilfs2
[Documentation on labels]
Reported-by: syzbot+5006fb4c22f32aa2d82f@syzkaller.appspotmail.com
First crash: 755d, last: 642d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in nilfs_btree_assign origin:upstream missing-backport C unreliable 18 440d 610d 0/3 upstream: reported C repro on 2023/03/22 07:45
upstream WARNING in nilfs_btree_assign (2) nilfs 1 358d 354d 0/28 auto-obsoleted due to no activity on 2024/03/08 05:10
upstream WARNING in nilfs_btree_assign nilfs C error 799 484d 788d 23/28 fixed on 2023/09/28 17:51
linux-5.15 WARNING in nilfs_btree_assign C done 26 521d 595d 3/3 fixed on 2023/08/10 11:37

Sample crash report:
NILFS (loop1): invalid segment: Checksum error in segment payload
NILFS (loop1): trying rollback from an earlier position
NILFS (loop4): invalid segment: Checksum error in segment payload
------------[ cut here ]------------
WARNING: CPU: 1 PID: 18326 at fs/nilfs2/btree.c:2285 nilfs_btree_assign+0x815/0xcc0 fs/nilfs2/btree.c:2285
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 18326 Comm: segctord Not tainted 4.14.302-syzkaller #0
NILFS (loop4): trying rollback from an earlier position
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
NILFS (loop4): recovery complete
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
NILFS (loop4): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:nilfs_btree_assign+0x815/0xcc0 fs/nilfs2/btree.c:2285
NILFS (loop2): invalid segment: Checksum error in segment payload
RSP: 0018:ffff88809f8b7a70 EFLAGS: 00010297
RAX: ffff888099f683c0 RBX: 0000000000000001 RCX: 0000000000000008
RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff8880a8e65890
RBP: ffff8880a8e65800 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: ffff888099f683c0 R12: 00000000fffffffe
R13: ffff88809f8b7cc0 R14: ffff88808a0164d8 R15: 0000000000000083
NILFS (loop2): trying rollback from an earlier position
 nilfs_bmap_assign+0x83/0x170 fs/nilfs2/bmap.c:391
 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1608 [inline]
 nilfs_segctor_assign fs/nilfs2/segment.c:1642 [inline]
 nilfs_segctor_do_construct+0x1931/0x79c0 fs/nilfs2/segment.c:2069
NILFS (loop2): recovery complete
NILFS (loop2): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
 nilfs_segctor_construct+0x6db/0x8e0 fs/nilfs2/segment.c:2394
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2502 [inline]
 nilfs_segctor_thread+0x3ad/0xdb0 fs/nilfs2/segment.c:2586
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/01 10:17 linux-4.14.y c4215ee4771b ab32d508 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in nilfs_btree_assign
2022/10/28 22:28 linux-4.14.y 41f36d7859a7 8168b69e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in nilfs_btree_assign
2023/02/17 19:20 linux-4.14.y a8ad60f2af58 cf8c2d39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in nilfs_btree_assign
2023/02/15 16:09 linux-4.14.y a8ad60f2af58 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in nilfs_btree_assign
2023/02/07 21:35 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in nilfs_btree_assign
2023/01/21 05:41 linux-4.14.y 97205fccccdc cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in nilfs_btree_assign
2022/10/28 16:42 linux-4.14.y 41f36d7859a7 8168b69e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in nilfs_btree_assign
* Struck through repros no longer work on HEAD.