------------[ cut here ]------------ WARNING: CPU: 0 PID: 12942 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 0 PID: 12942 Comm: segctord Not tainted 6.3.0-rc7-syzkaller-00189-g2caeeb9d4a1b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Code: 04 54 fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 c3 04 54 fe e8 7e 99 d1 fd e9 db fe ff ff e8 b4 04 54 fe <0f> 0b e9 0d fe ff ff e8 68 1d a5 fe e9 c6 fb ff ff e8 5e 1d a5 fe RSP: 0018:ffffc900174c7a78 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803c1a54a0 RCX: 0000000000000000 RDX: ffff88802889ba80 RSI: ffffffff832eebcc RDI: 0000000000000005 RBP: ffff888077f80060 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92002e98f54 R14: ffff88803c1a5928 R15: 00000000644477cb FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020117030 CR3: 0000000027b57000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1468 [inline] nilfs_segctor_do_construct+0x184c/0x71a0 fs/nilfs2/segment.c:2093 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2401 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2509 [inline] nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2592 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308