------------[ cut here ]------------ WARNING: CPU: 0 PID: 5600 at fs/f2fs/extent_cache.c:364 __attach_extent_node+0xc7/0x4c0 Modules linked in: CPU: 0 PID: 5600 Comm: syz-executor.0 Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__attach_extent_node+0xc7/0x4c0 Code: 7c ab 48 89 df e8 c9 6a 0b fe eb a1 e8 62 24 b7 fd 48 c7 c7 40 bb 2b 8d 48 89 de e8 83 53 9b 00 48 85 ed 75 a6 e8 49 24 b7 fd <0f> 0b 48 89 6c 24 20 4c 89 64 24 38 4d 85 e4 0f 84 d6 03 00 00 48 RSP: 0018:ffffc90005eae958 EFLAGS: 00010293 RAX: ffffffff83d42181 RBX: 0000000000000000 RCX: ffff88807e05ba80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff88807274e0d8 R08: ffffffff83d42148 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807274e0d0 R13: ffff888027218000 R14: dffffc0000000000 R15: ffff888027218000 FS: 00007f7fd5990700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020103000 CR3: 0000000023e6e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __insert_extent_tree+0x24b/0x570 __update_extent_tree_range+0x1548/0x1d50 f2fs_update_read_extent_cache+0x41e/0x590 f2fs_outplace_write_data+0x200/0x3d0 f2fs_do_write_data_page+0x1393/0x27c0 f2fs_write_single_data_page+0x14c1/0x2140 f2fs_write_data_pages+0x1948/0x2ed0 do_writepages+0x3a6/0x660 filemap_fdatawrite_wbc+0x125/0x180 file_write_and_wait_range+0x21f/0x320 f2fs_do_sync_file+0x7b6/0x1de0 f2fs_file_write_iter+0x7fc/0x2c20 vfs_write+0x7dd/0xc50 ksys_write+0x17c/0x2a0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7fd4c8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7fd5990168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7fd4dabf80 RCX: 00007f7fd4c8c0c9 RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000004 RBP: 00007f7fd4ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd70a6517f R14: 00007f7fd5990300 R15: 0000000000022000