------------[ cut here ]------------ WARNING: CPU: 3 PID: 11400 at fs/nilfs2/segment.c:1482 nilfs_segctor_truncate_segments fs/nilfs2/segment.c:1482 [inline] WARNING: CPU: 3 PID: 11400 at fs/nilfs2/segment.c:1482 nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline] WARNING: CPU: 3 PID: 11400 at fs/nilfs2/segment.c:1482 nilfs_segctor_do_construct+0x3fd5/0x6af0 fs/nilfs2/segment.c:2045 Modules linked in: CPU: 3 PID: 11400 Comm: segctord Not tainted 6.1.0-rc2-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nilfs_segctor_truncate_segments fs/nilfs2/segment.c:1482 [inline] RIP: 0010:nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline] RIP: 0010:nilfs_segctor_do_construct+0x3fd5/0x6af0 fs/nilfs2/segment.c:2045 Code: de 0f 84 85 14 00 00 e8 99 d1 55 fe 49 83 ee 48 41 bc 18 00 00 00 31 db 4c 89 b4 24 58 01 00 00 e9 1c fc ff ff e8 7b d1 55 fe <0f> 0b e9 03 d9 ff ff e8 6f d1 55 fe 48 8b ac 24 38 01 00 00 48 85 RSP: 0018:ffffc90004097b40 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 00000000fffffffe RCX: 0000000000000000 RDX: ffff88804ae24100 RSI: ffffffff8325f215 RDI: 0000000000000005 RBP: ffff888078d64880 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffffe R11: 000000000008c07e R12: ffff888078ca72d8 R13: dffffc0000000000 R14: ffffed1003ca671b R15: ffff88801e533800 FS: 0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32a4b000 CR3: 0000000022991000 CR4: 0000000000150ee0 DR0: 000000000000000c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x3c3/0xf30 fs/nilfs2/segment.c:2570 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306