assertion failed: block_start != EXTENT_MAP_HOLE, in fs/btrfs/extent_io.c:1426 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:1426! invalid opcode: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 7630 Comm: syz.0.58 Not tainted 6.4.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__extent_writepage_io+0x6eb/0x710 fs/btrfs/extent_io.c:1426 Code: 6a 02 90 0f 0b e8 35 d3 36 ff 48 c7 c7 a3 1e 67 85 48 c7 c6 b1 85 67 85 48 c7 c2 3c 81 67 85 b9 92 05 00 00 e8 66 b7 6a 02 90 <0f> 0b e8 0e d3 36 ff 4c 89 ff e8 66 e2 ff ff 48 89 c7 48 c7 c6 8f RSP: 0018:ffffc9000403b948 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000003000 RCX: 8f8791ead0b41a00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: fffffffffffffffd R08: ffffffff813531a8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888108335ea0 R13: 0000000000000000 R14: 000000000007b000 R15: 000000000007b000 FS: 00007fc1d52056c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f38449c5f98 CR3: 000000011aaf8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __extent_writepage+0x32c/0x8a0 fs/btrfs/extent_io.c:1520 extent_write_cache_pages fs/btrfs/extent_io.c:2194 [inline] extent_writepages+0x6e2/0xd60 fs/btrfs/extent_io.c:2316 do_writepages+0x124/0x2b0 mm/page-writeback.c:2551 filemap_fdatawrite_wbc+0xa9/0xd0 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0xa8/0xd0 mm/filemap.c:456 btrfs_release_file+0x8c/0xa0 fs/btrfs/file.c:1713 __fput+0x1b4/0x450 fs/file_table.c:321 task_work_run+0x102/0x140 kernel/task_work.c:179 get_signal+0xbe7/0xcc0 kernel/signal.c:2652 arch_do_signal_or_restart+0x89/0x2b0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x65/0xe0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x6c/0xf0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x2d/0x220 kernel/entry/common.c:297 do_syscall_64+0x55/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x73/0xdd RIP: 0033:0x7fc1d4379e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc1d5205038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 00000000008d6000 RBX: 00007fc1d4515f80 RCX: 00007fc1d4379e79 RDX: 000000000f642e7e RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007fc1d43e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc1d4515f80 R15: 00007fffac1afd18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__extent_writepage_io+0x6eb/0x710 fs/btrfs/extent_io.c:1426 Code: 6a 02 90 0f 0b e8 35 d3 36 ff 48 c7 c7 a3 1e 67 85 48 c7 c6 b1 85 67 85 48 c7 c2 3c 81 67 85 b9 92 05 00 00 e8 66 b7 6a 02 90 <0f> 0b e8 0e d3 36 ff 4c 89 ff e8 66 e2 ff ff 48 89 c7 48 c7 c6 8f RSP: 0018:ffffc9000403b948 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000003000 RCX: 8f8791ead0b41a00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: fffffffffffffffd R08: ffffffff813531a8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888108335ea0 R13: 0000000000000000 R14: 000000000007b000 R15: 000000000007b000 FS: 00007fc1d52056c0(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005556e1ed5950 CR3: 000000011aaf8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400