------------[ cut here ]------------ WARNING: CPU: 0 PID: 5645 at fs/nilfs2/btree.c:2282 nilfs_btree_assign+0xa9f/0xd10 Modules linked in: CPU: 0 PID: 5645 Comm: segctord Not tainted 6.2.0-rc8-syzkaller-00021-ge1c04510f521 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:nilfs_btree_assign+0xa9f/0xd10 fs/nilfs2/btree.c:2282 Code: 00 0f 85 81 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bd 8c 3b fe 4c 8b 7c 24 38 eb a6 e8 b1 8c 3b fe <0f> 0b 41 be fe ff ff ff eb 97 44 89 f1 80 e1 07 80 c1 03 38 c1 0f RSP: 0018:ffffc900057b7580 EFLAGS: 00010293 RAX: ffffffff8350459f RBX: ffff888071154cf8 RCX: ffff8880200f9d40 RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe RBP: ffffc900057b76b0 R08: ffffffff83503efb R09: ffffed100e7b9b97 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88802aaf3480 R14: 00000000fffffffe R15: 1ffff92000af6ec0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc9bb208000 CR3: 0000000026d07000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_assign+0x8b/0x160 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+0x3a11/0x6f70 fs/nilfs2/segment.c:2056 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2570 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308