------------[ cut here ]------------ kernel BUG at fs/nilfs2/btnode.c:59! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 14421 Comm: syz-executor.1 Not tainted 6.1.0-rc5-syzkaller-32254-g9e4ce762f0e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 lr : nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 sp : ffff800020703640 x29: ffff800020703640 x28: 00000000000a0011 x27: ffff00011cae5a80 x26: 00000000000a0011 x25: 0000000000000001 x24: ffff00011cae5a80 x23: 000000000000000a x22: 0000000000020011 x21: ffff00011958b0d8 x20: 000000000000093b x19: ffff00011cae4348 x18: 0000000000000130 x17: ffff80000c0ed83c x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000406 x12: 0000000000040000 x11: 000000000000f7d8 x10: ffff80001895d000 x9 : 00000000ffffffff x8 : ffff00011cae43a8 x7 : ffff8000083e23e8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000020000 x3 : 000000000000000a x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: nilfs_btnode_create_block+0x1c0/0x2f8 fs/nilfs2/btnode.c:58 nilfs_btnode_prepare_change_key+0x138/0x19c fs/nilfs2/btnode.c:219 nilfs_btree_prepare_update_v+0x128/0x17c fs/nilfs2/btree.c:1919 nilfs_btree_prepare_propagate_v fs/nilfs2/btree.c:1986 [inline] nilfs_btree_propagate_v+0x110/0x420 fs/nilfs2/btree.c:2031 nilfs_btree_propagate+0x258/0x350 fs/nilfs2/btree.c:2088 nilfs_bmap_propagate+0x40/0xa8 fs/nilfs2/bmap.c:337 nilfs_collect_file_data+0x34/0xa8 fs/nilfs2/segment.c:568 nilfs_segctor_apply_buffers+0x84/0x168 fs/nilfs2/segment.c:1018 nilfs_segctor_scan_file_dsync fs/nilfs2/segment.c:1107 [inline] nilfs_segctor_collect_blocks+0x1bc/0x93c fs/nilfs2/segment.c:1261 nilfs_segctor_collect fs/nilfs2/segment.c:1503 [inline] nilfs_segctor_do_construct+0x3f8/0xefc fs/nilfs2/segment.c:2045 nilfs_construct_dsync_segment+0x230/0x27c fs/nilfs2/segment.c:2310 nilfs_writepages+0x6c/0xa8 fs/nilfs2/inode.c:170 do_writepages+0x144/0x27c mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0xac/0xd0 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x84/0x1e8 mm/filemap.c:674 __generic_file_write_iter+0x188/0x21c mm/filemap.c:3867 generic_file_write_iter+0x6c/0x168 mm/filemap.c:3913 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x2dc/0x46c fs/read_write.c:584 ksys_write+0xb4/0x160 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x24/0x34 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: 14000002 97ccbc8b aa1303e0 9400004f (d4210000) ---[ end trace 0000000000000000 ]---