------------[ cut here ]------------ WARNING: CPU: 0 PID: 16387 at fs/nilfs2/btree.c:2282 nilfs_btree_assign+0xbc0/0xdc8 fs/nilfs2/btree.c:2282 Modules linked in: CPU: 0 PID: 16387 Comm: segctord Not tainted 6.1.20-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_btree_assign+0xbc0/0xdc8 fs/nilfs2/btree.c:2282 lr : nilfs_btree_assign+0xbc0/0xdc8 fs/nilfs2/btree.c:2282 sp : ffff8000207473e0 x29: ffff8000207474d0 x28: 00000000fffffffe x27: ffff0000e03ed9c8 x26: ffff800020747960 x25: 0000000000000001 x24: dfff800000000000 x23: 1ffff000040e8f2c x22: 0000000000000000 x21: 0000000000040013 x20: 0000000000000082 x19: ffff0000ecbf4b00 x18: ffff0000e03ee8a2 x17: ffff80001572d000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 00000000ffffffef x12: ffff0000d0fd8000 x11: ff80800009e23b24 x10: 0000000000000000 x9 : ffff800009e23b24 x8 : ffff0000d0fd8000 x7 : ffff800008760bb4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800009e187a0 x2 : 0000000000000001 x1 : 00000000fffffffe x0 : 00000000fffffffe Call trace: nilfs_btree_assign+0xbc0/0xdc8 fs/nilfs2/btree.c:2282 nilfs_bmap_assign+0x90/0x148 fs/nilfs2/bmap.c:382 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1595 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1629 [inline] nilfs_segctor_do_construct+0x2fe8/0x6604 fs/nilfs2/segment.c:2056 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x3e0/0xd88 fs/nilfs2/segment.c:2570 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 3102 hardirqs last enabled at (3101): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242 hardirqs last disabled at (3102): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (582): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (582): [] __do_softirq+0xd88/0xff4 kernel/softirq.c:600 softirqs last disabled at (149): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---