------------[ cut here ]------------ WARNING: CPU: 0 PID: 17522 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 0 PID: 17522 Comm: segctord Not tainted 6.3.0-rc2-syzkaller-00363-g478a351ce0d6 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Code: 36 54 fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 c3 36 54 fe e8 ce d7 d1 fd e9 db fe ff ff e8 b4 36 54 fe <0f> 0b e9 0d fe ff ff e8 d8 3f a5 fe e9 c6 fb ff ff e8 ce 3f a5 fe RSP: 0018:ffffc90007b7fa78 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802c322160 RCX: 0000000000000000 RDX: ffff88801d6f9d40 RSI: ffffffff832eae4c RDI: 0000000000000005 RBP: ffff88806f7c9050 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92000f6ff54 R14: ffff88802c3225e8 R15: 000000006415da46 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ec932a1868 CR3: 000000006e306000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1449 [inline] nilfs_segctor_do_construct+0x1820/0x7100 fs/nilfs2/segment.c:2073 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2381 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline] nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2572 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308