assertion failed: !btrfs_extent_map_is_compressed(em), in fs/btrfs/extent_io.c:1720 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:1720! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 1155 Comm: kworker/u4:9 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: writeback wb_workfn (flush-btrfs-1) RIP: 0010:submit_one_sector fs/btrfs/extent_io.c:1720 [inline] RIP: 0010:extent_writepage_io+0x1022/0x11a0 fs/btrfs/extent_io.c:1826 Code: 0d fd 90 0f 0b e8 fe c1 ac fd 48 c7 c7 20 e7 38 8c 48 c7 c6 e0 fd 38 8c 48 c7 c2 a0 e7 38 8c b9 b8 06 00 00 e8 9f 5c 0d fd 90 <0f> 0b e8 d7 c1 ac fd 48 c7 c7 20 e7 38 8c 48 c7 c6 80 fe 38 8c 48 RSP: 0018:ffffc90001beed40 EFLAGS: 00010246 RAX: 0000000000000053 RBX: 0000000000000008 RCX: 86a62f0cc7b5c200 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffea00004750c0 R08: ffffc90001beeac7 R09: 1ffff9200037dd58 R10: dffffc0000000000 R11: fffff5200037dd59 R12: 0000000000001000 R13: dffffc0000000000 R14: ffff88801fc4b398 R15: 0000000000521000 FS: 0000000000000000(0000) GS:ffff88808c53f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7f1fbec5a3 CR3: 00000000128ab000 CR4: 0000000000352ef0 Call Trace: extent_writepage fs/btrfs/extent_io.c:1936 [inline] extent_write_cache_pages fs/btrfs/extent_io.c:2593 [inline] btrfs_writepages+0x17a1/0x28b0 fs/btrfs/extent_io.c:2725 do_writepages+0x338/0x560 mm/page-writeback.c:2571 __writeback_single_inode+0x12e/0xf90 fs/fs-writeback.c:1787 writeback_sb_inodes+0x9de/0x1b00 fs/fs-writeback.c:2079 __writeback_inodes_wb+0x114/0x240 fs/fs-writeback.c:2155 wb_writeback+0x42f/0xad0 fs/fs-writeback.c:2266 wb_check_start_all fs/fs-writeback.c:2392 [inline] wb_do_writeback fs/fs-writeback.c:2439 [inline] wb_workfn+0x980/0x10f0 fs/fs-writeback.c:2477 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:submit_one_sector fs/btrfs/extent_io.c:1720 [inline] RIP: 0010:extent_writepage_io+0x1022/0x11a0 fs/btrfs/extent_io.c:1826 Code: 0d fd 90 0f 0b e8 fe c1 ac fd 48 c7 c7 20 e7 38 8c 48 c7 c6 e0 fd 38 8c 48 c7 c2 a0 e7 38 8c b9 b8 06 00 00 e8 9f 5c 0d fd 90 <0f> 0b e8 d7 c1 ac fd 48 c7 c7 20 e7 38 8c 48 c7 c6 80 fe 38 8c 48