------------[ cut here ]------------ WARNING: CPU: 0 PID: 23058 at fs/nilfs2/sufile.c:531 nilfs_sufile_set_segment_usage+0x1d0/0x258 fs/nilfs2/sufile.c:531 Modules linked in: CPU: 0 PID: 23058 Comm: segctord Not tainted 6.1.0-rc5-syzkaller-32269-g9500fc6e9e60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_sufile_set_segment_usage+0x1d0/0x258 fs/nilfs2/sufile.c:531 lr : nilfs_sufile_set_segment_usage+0x1d0/0x258 fs/nilfs2/sufile.c:531 sp : ffff80001fe5bc20 x29: ffff80001fe5bc30 x28: ffff80001fe5bde0 x27: ffff00010ce0d4c8 x26: 0000000040000000 x25: 0000000000000005 x24: ffff0000c9c59a40 x23: ffff00011257b050 x22: 000000000000015a x21: 0000000000000010 x20: 0000000000000000 x19: ffff00010fed30d8 x18: fffffffffffffff5 x17: ffff80000c0ed83c x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000005 x11: ff80800008f97e68 x10: 0000000000000000 x9 : ffff800008f97e68 x8 : ffff0000c9c59a40 x7 : ffff8000083e23e8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 000000000000000a x2 : 0000000000000000 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: nilfs_sufile_set_segment_usage+0x1d0/0x258 fs/nilfs2/sufile.c:531 nilfs_segctor_update_segusage fs/nilfs2/segment.c:1447 [inline] nilfs_segctor_do_construct+0x9b8/0xefc fs/nilfs2/segment.c:2071 nilfs_segctor_construct+0xa0/0x380 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x180/0x634 fs/nilfs2/segment.c:2570 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 146 hardirqs last enabled at (145): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (145): [] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194 hardirqs last disabled at (146): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (0): [] copy_process+0x938/0x16ec kernel/fork.c:2198 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---