------------[ cut here ]------------ WARNING: CPU: 1 PID: 12573 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x501/0x5f0 Modules linked in: CPU: 1 PID: 12573 Comm: segctord Not tainted 6.2.0-syzkaller-12998-gc0927a7a5391 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/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 9f 48 35 fe <0f> 0b e9 0f fe ff ff e8 93 48 35 fe e8 8e fb a8 fd e9 be fe ff ff RSP: 0018:ffffc900036ff600 EFLAGS: 00010293 RAX: ffffffff83579de1 RBX: 0000000000000004 RCX: ffff888021261d40 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc900036ff6f0 R08: ffffffff83579be4 R09: ffffffff8352c75b R10: 0000000000000002 R11: ffff888021261d40 R12: dffffc0000000000 R13: ffff888021593000 R14: ffff888033e1f2c8 R15: 0000000000000060 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3232f000 CR3: 0000000043349000 CR4: 00000000003506e0 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+0x4b09/0x6f70 fs/nilfs2/segment.c:2073 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2381 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2572 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308