------------[ cut here ]------------ WARNING: CPU: 1 PID: 14981 at fs/nilfs2/btree.c:2282 nilfs_btree_assign+0xbc0/0xdc8 fs/nilfs2/btree.c:2282 Modules linked in: CPU: 1 PID: 14981 Comm: segctord Not tainted 6.1.31-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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 : ffff800031e673e0 x29: ffff800031e674d0 x28: 00000000fffffffe x27: ffff0000e24bb9c0 x26: ffff800031e67960 x25: 0000000000000001 x24: dfff800000000000 x23: 1ffff000063ccf2c x22: 0000000000000000 x21: 0000000000000013 x20: 0000000000000082 x19: ffff0000faf3cb00 x18: ffff0000e24bf358 x17: ffff8000155bd000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 00000000ffffffef x12: ffff0000feab3780 x11: ff80800009d94a04 x10: 0000000000000000 x9 : ffff800009d94a04 x8 : ffff0000feab3780 x7 : ffff800008756f04 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800009d89658 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:390 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1615 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1649 [inline] nilfs_segctor_do_construct+0x2d94/0x640c fs/nilfs2/segment.c:2079 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2402 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2510 [inline] nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2593 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 2298 hardirqs last enabled at (2297): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (2297): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (2298): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1310): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (1310): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (1303): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]---