assertion failed: folio_order(folio) == 0, in fs/btrfs/disk-io.c:3856 ------------[ cut here ]------------ kernel BUG at fs/btrfs/disk-io.c:3856! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 132 Comm: kworker/u4:5 Not tainted 6.14.0-syzkaller-10892-g4e82c87058f4 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:write_dev_supers fs/btrfs/disk-io.c:3856 [inline] RIP: 0010:write_all_supers+0x400f/0x4090 fs/btrfs/disk-io.c:4153 Code: 1f fe 90 0f 0b e8 11 23 d3 fd 48 c7 c7 80 97 8c 8c 48 c7 c6 40 e0 8c 8c 48 c7 c2 00 98 8c 8c b9 10 0f 00 00 e8 02 b2 36 fd 90 <0f> 0b e8 ea 22 d3 fd 4c 89 f7 48 c7 c6 c0 ca 8c 8c e8 fb 29 1f fe RSP: 0018:ffffc900019d7220 EFLAGS: 00010246 RAX: 0000000000000045 RBX: 0000000000000002 RCX: da94a90d2bd84700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900019d75f0 R08: ffffffff81a2ac6c R09: 1ffff9200033ade0 R10: dffffc0000000000 R11: fffff5200033ade1 R12: ffffea0001510e08 R13: 1ffffd40002a21c1 R14: 1ffffd40002a21c0 R15: ffffea0001510e00 FS: 0000000000000000(0000) GS:ffff88808c5b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e6067b5b88 CR3: 0000000036694000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x1ded/0x3650 fs/btrfs/transaction.c:2541 flush_space+0x4a7/0xd30 fs/btrfs/space-info.c:842 btrfs_async_reclaim_metadata_space+0x178/0x3b0 fs/btrfs/space-info.c:1120 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:write_dev_supers fs/btrfs/disk-io.c:3856 [inline] RIP: 0010:write_all_supers+0x400f/0x4090 fs/btrfs/disk-io.c:4153 Code: 1f fe 90 0f 0b e8 11 23 d3 fd 48 c7 c7 80 97 8c 8c 48 c7 c6 40 e0 8c 8c 48 c7 c2 00 98 8c 8c b9 10 0f 00 00 e8 02 b2 36 fd 90 <0f> 0b e8 ea 22 d3 fd 4c 89 f7 48 c7 c6 c0 ca 8c 8c e8 fb 29 1f fe RSP: 0018:ffffc900019d7220 EFLAGS: 00010246 RAX: 0000000000000045 RBX: 0000000000000002 RCX: da94a90d2bd84700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900019d75f0 R08: ffffffff81a2ac6c R09: 1ffff9200033ade0 R10: dffffc0000000000 R11: fffff5200033ade1 R12: ffffea0001510e08 R13: 1ffffd40002a21c1 R14: 1ffffd40002a21c0 R15: ffffea0001510e00 FS: 0000000000000000(0000) GS:ffff88808c5b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e6067b5b88 CR3: 000000001f746000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400