------------[ cut here ]------------ WARNING: CPU: 1 PID: 5018 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x501/0x5f0 Modules linked in: CPU: 1 PID: 5018 Comm: segctord Not tainted 6.5.0-rc6-syzkaller-00200-gd4ddefee5160 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:nilfs_sufile_set_segment_usage+0x501/0x5f0 fs/nilfs2/sufile.c:539 Code: 04 25 28 00 00 00 48 3b 84 24 a0 00 00 00 0f 85 f3 00 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4f 29 38 fe <0f> 0b e9 0f fe ff ff e8 43 29 38 fe e8 de f7 ac fd e9 be fe ff ff RSP: 0018:ffffc90003baf5e0 EFLAGS: 00010293 RAX: ffffffff83538ee1 RBX: 0000000000000004 RCX: ffff88807dbb1dc0 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc90003baf6d0 R08: ffffffff83538ce4 R09: ffffffff834ebcdb R10: 0000000000000002 R11: ffff88807dbb1dc0 R12: dffffc0000000000 R13: ffff88802ae1b000 R14: ffff8880753025e8 R15: 0000000000000060 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78e1195ed8 CR3: 000000002bf85000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1473 [inline] nilfs_segctor_do_construct+0x4993/0x6e30 fs/nilfs2/segment.c:2103 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2411 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2519 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2602 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304