------------[ cut here ]------------ WARNING: CPU: 1 PID: 6911 at fs/nilfs2/btree.c:2304 nilfs_btree_assign+0xabb/0xd20 fs/nilfs2/btree.c:2304 Modules linked in: CPU: 1 UID: 0 PID: 6911 Comm: segctord Not tainted 6.13.0-rc7-syzkaller-gc45323b7560e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:nilfs_btree_assign+0xabb/0xd20 fs/nilfs2/btree.c:2304 Code: 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 42 55 24 fe 4c 8b 7c 24 38 eb a2 e8 36 55 24 fe 90 <0f> 0b 90 41 be fe ff ff ff eb 91 44 89 f1 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90002f77600 EFLAGS: 00010293 RAX: ffffffff837b1cea RBX: ffff88805bfe0678 RCX: ffff888033a75a00 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: ffffc90002f77730 R08: ffffffff837b162b R09: 0000000000000000 R10: ffffc90002f77560 R11: fffff520005eeeaf R12: dffffc0000000000 R13: ffff88806d9e2d00 R14: 00000000fffffffe R15: 1ffff920005eeed0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020012000 CR3: 000000002eeca000 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:390 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1633 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1667 [inline] nilfs_segctor_do_construct+0x35c5/0x6ea0 fs/nilfs2/segment.c:2126 nilfs_segctor_construct+0x181/0x6b0 fs/nilfs2/segment.c:2479 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2587 [inline] nilfs_segctor_thread+0x69e/0xe80 fs/nilfs2/segment.c:2701 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244