------------[ cut here ]------------ WARNING: CPU: 1 PID: 26035 at fs/nilfs2/btree.c:2283 nilfs_btree_assign+0x978/0xdf0 fs/nilfs2/btree.c:2283 Modules linked in: CPU: 1 PID: 26035 Comm: segctord Not tainted 6.4.0-rc5-syzkaller-00245-g64569520920a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:nilfs_btree_assign+0x978/0xdf0 fs/nilfs2/btree.c:2283 Code: 00 00 00 00 e9 83 f8 ff ff e8 94 43 56 fe 44 89 e6 bf fe ff ff ff e8 a7 3f 56 fe 41 83 fc fe 0f 85 8a fb ff ff e8 78 43 56 fe <0f> 0b e9 7e fb ff ff e8 6c 43 56 fe 48 89 eb 48 c7 44 24 28 18 00 RSP: 0018:ffffc9000dcaf9f0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888074c8a1c0 RSI: ffffffff832d2438 RDI: 0000000000000005 RBP: ffff888092e410d8 R08: 0000000000000005 R09: 00000000fffffffe R10: 00000000fffffffe R11: 0000000000094001 R12: 00000000fffffffe R13: ffffc9000dcafc78 R14: ffffc9000dcafcb8 R15: 0000000000000082 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6359abf84 CR3: 0000000034d2f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_assign+0x87/0x180 fs/nilfs2/bmap.c:390 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1617 [inline] nilfs_segctor_assign fs/nilfs2/segment.c:1651 [inline] nilfs_segctor_do_construct+0x14d2/0x7200 fs/nilfs2/segment.c:2081 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2404 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline] nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2595 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308