------------[ cut here ]------------ WARNING: CPU: 1 PID: 13315 at fs/nilfs2/dat.c:158 nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 Modules linked in: CPU: 1 PID: 13315 Comm: segctord Not tainted 6.1.74-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 lr : nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 sp : ffff80001f9670b0 x29: ffff80001f9670c0 x28: 1fffe000259f3697 x27: dfff800000000000 x26: 0000000000000000 x25: dfff800000000000 x24: ffff00012cf9b480 x23: 1fffe000259f3693 x22: 00000000fffffffe x21: ffff00012ca18158 x20: ffff00012cf9b498 x19: ffff00012cf9b4b0 x18: ffff00012ca18008 x17: ffff800009d95830 x16: ffff80001214bc7c x15: 0000000000000000 x14: 00000000ffffffef x13: ffff0001320dd340 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009da9d04 x8 : ffff0001320dd340 x7 : ffff800009dbd92c x6 : ffff800009dc7014 x5 : ffff00012f564528 x4 : ffff80001f9668a0 x3 : ffff800008b2fcdc x2 : 0000000000000001 x1 : 00000000fffffffe x0 : 00000000fffffffe Call trace: nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 nilfs_dat_prepare_update+0x30/0xf4 fs/nilfs2/dat.c:230 nilfs_btree_prepare_update_v+0x190/0x378 fs/nilfs2/btree.c:1919 nilfs_btree_prepare_propagate_v fs/nilfs2/btree.c:1987 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2040 [inline] nilfs_btree_propagate+0x668/0xe90 fs/nilfs2/btree.c:2097 nilfs_bmap_propagate+0x7c/0x130 fs/nilfs2/bmap.c:345 nilfs_collect_file_data+0x54/0xe8 fs/nilfs2/segment.c:587 nilfs_segctor_apply_buffers+0x170/0x31c fs/nilfs2/segment.c:1047 nilfs_segctor_scan_file+0x6d4/0xd8c fs/nilfs2/segment.c:1096 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1205 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1532 [inline] nilfs_segctor_do_construct+0x16f4/0x6550 fs/nilfs2/segment.c:2080 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2414 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2522 [inline] nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2605 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 264 hardirqs last enabled at (263): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (264): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (120): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (120): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (95): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 13315 at fs/nilfs2/dat.c:158 nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 Modules linked in: CPU: 1 PID: 13315 Comm: segctord Tainted: G W 6.1.74-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 lr : nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 sp : ffff80001f9670b0 x29: ffff80001f9670c0 x28: 1fffe000259f3e17 x27: dfff800000000000 x26: 0000000000000000 x25: dfff800000000000 x24: ffff00012cf9f080 x23: 1fffe000259f3e13 x22: 00000000fffffffe x21: ffff00012ca18158 x20: ffff00012cf9f098 x19: ffff00012cf9f0b0 x18: ffff00012ca18008 x17: ffff8000188b7000 x16: ffff80001214bc7c x15: 0000000000000000 x14: 00000000ffffffef x13: ffff0001320dd340 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009da9d04 x8 : ffff0001320dd340 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000001 x3 : ffff800008b2fcdc x2 : 0000000000000001 x1 : 00000000fffffffe x0 : 00000000fffffffe Call trace: nilfs_dat_prepare_end+0x2ac/0x2f4 fs/nilfs2/dat.c:158 nilfs_dat_prepare_update+0x30/0xf4 fs/nilfs2/dat.c:230 nilfs_btree_prepare_update_v+0x190/0x378 fs/nilfs2/btree.c:1919 nilfs_btree_prepare_propagate_v fs/nilfs2/btree.c:1987 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2040 [inline] nilfs_btree_propagate+0x668/0xe90 fs/nilfs2/btree.c:2097 nilfs_bmap_propagate+0x7c/0x130 fs/nilfs2/bmap.c:345 nilfs_collect_file_data+0x54/0xe8 fs/nilfs2/segment.c:587 nilfs_segctor_apply_buffers+0x170/0x31c fs/nilfs2/segment.c:1047 nilfs_segctor_scan_file+0x6d4/0xd8c fs/nilfs2/segment.c:1096 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1205 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1532 [inline] nilfs_segctor_do_construct+0x16f4/0x6550 fs/nilfs2/segment.c:2080 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2414 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2522 [inline] nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2605 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 584 hardirqs last enabled at (583): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (584): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (516): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (516): [] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600 softirqs last disabled at (267): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---