------------[ cut here ]------------ WARNING: CPU: 0 PID: 21796 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x501/0x5f0 Modules linked in: CPU: 0 PID: 21796 Comm: segctord Not tainted 6.4.0-rc5-syzkaller-00017-ga27648c74210 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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 2f 78 3a fe <0f> 0b e9 0f fe ff ff e8 23 78 3a fe e8 0e 8e af fd e9 be fe ff ff RSP: 0018:ffffc900130a7600 EFLAGS: 00010293 RAX: ffffffff83510701 RBX: 0000000000000004 RCX: ffff8880277c3b80 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000 RBP: ffffc900130a76f0 R08: ffffffff83510504 R09: ffffffff834c38eb R10: 0000000000000002 R11: ffff8880277c3b80 R12: dffffc0000000000 R13: ffff88806e051000 R14: ffff88803f11d928 R15: 0000000000000050 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c341baf4a8 CR3: 0000000029d90000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1468 [inline] nilfs_segctor_do_construct+0x48af/0x6d30 fs/nilfs2/segment.c:2096 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2404 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2595 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308