------------[ cut here ]------------ WARNING: CPU: 1 PID: 8828 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 1 PID: 8828 Comm: segctord Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539 Code: e8 19 db 9d fe f0 80 8b b0 fe ff ff 02 e8 4c e7 48 fe 4c 8b 6c 24 40 4d 85 ed 0f 85 63 ff ff ff e9 6b ff ff ff e8 34 e7 48 fe <0f> 0b e9 18 fe ff ff e8 28 e7 48 fe e8 03 a4 c2 fd e9 d9 fe ff ff RSP: 0018:ffffc90016bef968 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808070b398 RCX: 0000000000000000 RDX: ffff88803de46200 RSI: ffffffff833dddcc RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 1ffff92002d7df31 R13: ffff888080c70050 R14: 00000000650f2c61 R15: ffff88808070b820 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4b950652e CR3: 0000000033416000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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