NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3617 at fs/nilfs2/sufile.c:531 nilfs_sufile_set_segment_usage+0x4d8/0x5c0 Modules linked in: CPU: 1 PID: 3617 Comm: segctord Not tainted 6.0.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:nilfs_sufile_set_segment_usage+0x4d8/0x5c0 fs/nilfs2/sufile.c:531 Code: 25 28 00 00 00 48 3b 84 24 a0 00 00 00 0f 85 fa 00 00 00 44 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 58 3b 3d fe <0f> 0b e9 1a fe ff ff e8 4c 3b 3d fe e8 47 38 b6 fd e9 ca fe ff ff RSP: 0018:ffffc900038bf620 EFLAGS: 00010293 RAX: ffffffff834a4e28 RBX: 0000000000000004 RCX: ffff88801f5d1d80 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc900038bf710 R08: ffffffff834a4c31 R09: ffffffff834596a3 R10: 0000000000000002 R11: ffff88801f5d1d80 R12: 0000000000000050 R13: ffff88801ce9d000 R14: 1ffff92000717ed0 R15: ffff888074562160 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005567cb272788 CR3: 000000001cb2b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1441 [inline] nilfs_segctor_do_construct+0x4b4a/0x6fe0 fs/nilfs2/segment.c:2065 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2375 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline] nilfs_segctor_thread+0x534/0x1180 fs/nilfs2/segment.c:2566 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306