------------[ cut here ]------------ WARNING: CPU: 1 PID: 17718 at fs/nilfs2/btree.c:2273 nilfs_btree_assign+0xa75/0xd00 Modules linked in: CPU: 1 PID: 17718 Comm: segctord Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:nilfs_btree_assign+0xa75/0xd00 fs/nilfs2/btree.c:2273 Code: 00 0f 85 a4 02 00 00 44 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 17 0a 3c fe 4c 8b 74 24 38 eb a5 e8 0b 0a 3c fe <0f> 0b 41 bf fe ff ff ff 4c 8b 74 24 38 eb 91 44 89 f9 80 e1 07 80 RSP: 0018:ffffc90005267540 EFLAGS: 00010293 RAX: ffffffff834fd165 RBX: ffff8880437f0018 RCX: ffff888026ba9d40 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: ffffc90005267670 R08: ffffffff834fcacf R09: ffffed1008691197 R10: ffffed1008691197 R11: 1ffff11008691196 R12: ffff88804e7d2580 R13: dffffc0000000000 R14: 0000000000000001 R15: 00000000fffffffe FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6aee52b000 CR3: 0000000042b97000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_assign+0x87/0x150 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+0x38c2/0x6f80 fs/nilfs2/segment.c:2056 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x59e/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308