------------[ cut here ]------------
WARNING: CPU: 1 PID: 11649 at fs/nilfs2/btree.c:2282 nilfs_btree_assign+0x968/0xde0 fs/nilfs2/btree.c:2282
Modules linked in:
CPU: 1 PID: 11649 Comm: segctord Not tainted 6.3.0-rc2-syzkaller-00069-g0ddc84d2dd43 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:nilfs_btree_assign+0x968/0xde0 fs/nilfs2/btree.c:2282
Code: 00 00 00 00 e9 93 f8 ff ff e8 34 f0 57 fe 44 89 e6 bf fe ff ff ff e8 77 ec 57 fe 41 83 fc fe 0f 85 9a fb ff ff e8 18 f0 57 fe <0f> 0b e9 8e fb ff ff e8 0c f0 57 fe 48 89 eb 48 c7 44 24 28 18 00
RSP: 0018:ffffc9000578f9f0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88801fd63a80 RSI: ffffffff832af4e8 RDI: 0000000000000005
RBP: ffff888072b72020 R08: 0000000000000005 R09: 00000000fffffffe
R10: 00000000fffffffe R11: 0000000000094001 R12: 00000000fffffffe
R13: ffffc9000578fc78 R14: ffffc9000578fcb8 R15: 0000000000000043
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd64bd5000 CR3: 0000000021542000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 nilfs_bmap_assign+0x87/0x180 fs/nilfs2/bmap.c:382
 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1597 [inline]
 nilfs_segctor_assign fs/nilfs2/segment.c:1631 [inline]
 nilfs_segctor_do_construct+0x146a/0x7100 fs/nilfs2/segment.c:2058
 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2381
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline]
 nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2572
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>