assertion failed: block_start != EXTENT_MAP_HOLE, in fs/btrfs/extent_io.c:1488 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:1488! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5132 Comm: syz.0.0 Not tainted 6.11.0-rc7-syzkaller-00017-gbc83b4d1f086 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__extent_writepage_io+0x1224/0x1400 fs/btrfs/extent_io.c:1488 Code: fd 07 90 0f 0b e8 ec c8 da fd 48 c7 c7 20 c4 4c 8c 48 c7 c6 00 d2 4c 8c 48 c7 c2 c0 c3 4c 8c b9 d0 05 00 00 e8 dd d5 fd 07 90 <0f> 0b e8 c5 c8 da fd 48 8b 3c 24 e8 bc 9d ff ff 48 89 c7 48 c7 c6 RSP: 0018:ffffc90002e1f068 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000000000 RCX: 240f543448adc300 RDX: ffffc9000bb8a000 RSI: 0000000000014612 RDI: 0000000000014613 RBP: dffffc0000000000 R08: ffffffff817401bc R09: 1ffff920005c3dac R10: dffffc0000000000 R11: fffff520005c3dad R12: ffffea00004c2648 R13: 1ffffd40000984c9 R14: fffffffffffffffd R15: 0000000000010000 FS: 00007f4555ed16c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020940000 CR3: 0000000012630000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __extent_writepage fs/btrfs/extent_io.c:1578 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2251 [inline] btrfs_writepages+0x12a2/0x2760 fs/btrfs/extent_io.c:2373 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] filemap_fdatawrite_range+0x120/0x180 mm/filemap.c:448 btrfs_fdatawrite_range fs/btrfs/file.c:3799 [inline] start_ordered_ops fs/btrfs/file.c:1563 [inline] btrfs_sync_file+0x366/0x11c0 fs/btrfs/file.c:1645 generic_write_sync include/linux/fs.h:2822 [inline] btrfs_do_write_iter+0x5e2/0x760 fs/btrfs/file.c:1515 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f455517def9 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:00007f4555ed1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4555336208 RCX: 00007f455517def9 RDX: 000000000000004c RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007f45551f09f6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4555336208 R15: 00007ffc4c3e4be8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__extent_writepage_io+0x1224/0x1400 fs/btrfs/extent_io.c:1488 Code: fd 07 90 0f 0b e8 ec c8 da fd 48 c7 c7 20 c4 4c 8c 48 c7 c6 00 d2 4c 8c 48 c7 c2 c0 c3 4c 8c b9 d0 05 00 00 e8 dd d5 fd 07 90 <0f> 0b e8 c5 c8 da fd 48 8b 3c 24 e8 bc 9d ff ff 48 89 c7 48 c7 c6 RSP: 0018:ffffc90002e1f068 EFLAGS: 00010246 RAX: 000000000000004e RBX: 0000000000000000 RCX: 240f543448adc300 RDX: ffffc9000bb8a000 RSI: 0000000000014612 RDI: 0000000000014613 RBP: dffffc0000000000 R08: ffffffff817401bc R09: 1ffff920005c3dac R10: dffffc0000000000 R11: fffff520005c3dad R12: ffffea00004c2648 R13: 1ffffd40000984c9 R14: fffffffffffffffd R15: 0000000000010000 FS: 00007f4555ed16c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020940000 CR3: 0000000012630000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400