------------[ cut here ]------------ WARNING: CPU: 0 PID: 6594 at fs/nilfs2/btree.c:2300 nilfs_btree_assign+0xaec/0xd50 fs/nilfs2/btree.c:2300 Modules linked in: CPU: 0 UID: 0 PID: 6594 Comm: segctord Not tainted 6.15.0-rc1-syzkaller-00325-g7cdabafc0012 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:nilfs_btree_assign+0xaec/0xd50 fs/nilfs2/btree.c:2300 Code: 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 63 55 13 fe 49 c7 c7 20 70 65 93 eb a0 e8 55 55 13 fe 90 <0f> 0b 90 41 be fe ff ff ff eb 8f 44 89 f1 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc900040cf560 EFLAGS: 00010293 RAX: ffffffff83afef1b RBX: ffff88805a93cc98 RCX: ffff8880308dbc00 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: ffffc900040cf690 R08: ffffffff83afe841 R09: 0000000000000000 R10: ffffc900040cf4c0 R11: fffff52000819e9b R12: dffffc0000000000 R13: ffff88806128f080 R14: 00000000fffffffe R15: ffffffff93657020 FS: 0000000000000000(0000) GS:ffff888124fc9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020013000 CR3: 0000000041ce2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_assign+0x8f/0x160 fs/nilfs2/bmap.c:374 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1640 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1674 [inline] nilfs_segctor_do_construct+0x3623/0x6f00 fs/nilfs2/segment.c:2133 nilfs_segctor_construct+0x181/0x6b0 fs/nilfs2/segment.c:2478 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2586 [inline] nilfs_segctor_thread+0x6a0/0xe90 fs/nilfs2/segment.c:2700 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245