------------[ cut here ]------------ WARNING: CPU: 0 PID: 21731 at fs/nilfs2/btree.c:2283 nilfs_btree_assign+0xab7/0xd20 fs/nilfs2/btree.c:2283 Modules linked in: CPU: 0 PID: 21731 Comm: segctord Not tainted 6.7.0-rc3-syzkaller-00024-g18d46e76d7c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:nilfs_btree_assign+0xab7/0xd20 fs/nilfs2/btree.c:2283 Code: 0f 85 80 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f6 c6 35 fe 4c 8b 7c 24 38 eb a6 e8 ea c6 35 fe 90 <0f> 0b 90 41 be fe ff ff ff eb 95 44 89 f1 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90009877560 EFLAGS: 00010293 RAX: ffffffff8358b356 RBX: ffff888036b43358 RCX: ffff8880752c9dc0 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: ffffc90009877690 R08: ffffffff8358ac9b R09: 1ffff11007864d22 R10: dffffc0000000000 R11: ffffed1007864d23 R12: dffffc0000000000 R13: ffff888038e7e900 R14: 00000000fffffffe R15: 1ffff9200130eebc FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555aba788 CR3: 0000000030425000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_assign+0x8b/0x160 fs/nilfs2/bmap.c:390 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1626 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1660 [inline] nilfs_segctor_do_construct+0x37ae/0x6e40 fs/nilfs2/segment.c:2092 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2415 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2523 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2606 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242