------------[ cut here ]------------ WARNING: CPU: 1 PID: 5453 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 1 PID: 5453 Comm: segctord Not tainted 6.6.0-rc5-syzkaller-00072-g401644852d0b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539 Code: e8 89 cb 9d fe f0 80 8b b0 fe ff ff 02 e8 2c 0d 48 fe 4c 8b 6c 24 40 4d 85 ed 0f 85 63 ff ff ff e9 6b ff ff ff e8 14 0d 48 fe <0f> 0b e9 18 fe ff ff e8 08 0d 48 fe e8 23 c8 c0 fd e9 d9 fe ff ff RSP: 0018:ffffc90004fef968 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888075fba160 RCX: 0000000000000000 RDX: ffff8880268b0000 RSI: ffffffff833fb9ac RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 1ffff920009fdf31 R13: ffff888027cfc050 R14: 0000000065282a8c R15: ffff888075fba5e8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564287117b40 CR3: 000000002841e000 CR4: 0000000000350ee0 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1478 [inline] nilfs_segctor_do_construct+0x1d94/0x8bf0 fs/nilfs2/segment.c:2108 nilfs_segctor_construct+0x924/0xb50 fs/nilfs2/segment.c:2416 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2524 [inline] nilfs_segctor_thread+0x38f/0xe90 fs/nilfs2/segment.c:2607 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304