------------[ cut here ]------------ WARNING: CPU: 0 PID: 18259 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x52d/0x6b0 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 0 PID: 18259 Comm: segctord Not tainted 6.3.0-rc6-next-20230413-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:nilfs_sufile_set_segment_usage+0x52d/0x6b0 fs/nilfs2/sufile.c:539 Code: 94 52 fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 42 94 52 fe e8 4d a5 cf fd e9 db fe ff ff e8 33 94 52 fe <0f> 0b e9 04 fe ff ff e8 67 56 a5 fe e9 b5 fb ff ff e8 5d 56 a5 fe RSP: 0018:ffffc90003787a78 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888085ed2e30 RCX: 0000000000000000 RDX: ffff888029c51d40 RSI: ffffffff8330e5ad RDI: 0000000000000005 RBP: ffff88807b480050 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff920006f0f54 R14: ffff888085ed32b8 R15: 0000000064393527 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff0d8cfe000 CR3: 000000000c571000 CR4: 00000000003506f0 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+0x33e/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308