------------[ cut here ]------------ WARNING: CPU: 1 PID: 3616 at fs/nilfs2/sufile.c:531 nilfs_sufile_set_segment_usage+0x1d0/0x258 fs/nilfs2/sufile.c:531 Modules linked in: CPU: 1 PID: 3616 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 : ffff800012de3c20 x29: ffff800012de3c30 x28: ffff800012de3de0 x27: ffff000116725cc8 x26: 0000000040000000 x25: 0000000000d1ab77 x24: ffff000111a01a40 x23: ffff0000ca017060 x22: 0000000000000215 x21: 0000000000000004 x20: 0000000000000000 x19: ffff000115f98d38 x18: fffffffffffffff5 x17: ffff8001f1cdd000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000006 x11: ff80800008f97e68 x10: 0000000000000000 x9 : ffff800008f97e68 x8 : ffff000111a01a40 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: 166 hardirqs last enabled at (165): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (165): [] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194 hardirqs last disabled at (166): [] 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 ]---