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: 31 Comm: kworker/u4:2 Not tainted 6.14.0-syzkaller-09584-g7d06015d936c #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_data_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 d1 08 d4 fd 48 c7 c7 00 73 8c 8c 48 c7 c6 c0 bb 8c 8c 48 c7 c2 80 73 8c 8c b9 10 0f 00 00 e8 12 7a 37 fd 90 <0f> 0b e8 aa 08 d4 fd 4c 89 f7 48 c7 c6 40 a6 8c 8c e8 bb 60 1f fe RSP: 0018:ffffc9000052f220 EFLAGS: 00010246 RAX: 0000000000000045 RBX: 0000000000000002 RCX: cdeec4af938e9b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000052f5f0 R08: ffffffff81a2cc0c R09: 1ffff920000a5de0 R10: dffffc0000000000 R11: fffff520000a5de1 R12: ffffea00014a7f08 R13: 1ffffd4000294fe1 R14: 1ffffd4000294fe0 R15: ffffea00014a7f00 FS: 0000000000000000(0000) GS:ffff88808c5b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e89885efa0 CR3: 0000000043110000 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_data_space+0x2ab/0x510 fs/btrfs/space-info.c:1357 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 d1 08 d4 fd 48 c7 c7 00 73 8c 8c 48 c7 c6 c0 bb 8c 8c 48 c7 c2 80 73 8c 8c b9 10 0f 00 00 e8 12 7a 37 fd 90 <0f> 0b e8 aa 08 d4 fd 4c 89 f7 48 c7 c6 40 a6 8c 8c e8 bb 60 1f fe RSP: 0018:ffffc9000052f220 EFLAGS: 00010246 RAX: 0000000000000045 RBX: 0000000000000002 RCX: cdeec4af938e9b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000052f5f0 R08: ffffffff81a2cc0c R09: 1ffff920000a5de0 R10: dffffc0000000000 R11: fffff520000a5de1 R12: ffffea00014a7f08 R13: 1ffffd4000294fe1 R14: 1ffffd4000294fe0 R15: ffffea00014a7f00 FS: 0000000000000000(0000) GS:ffff88808c5b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e89885efa0 CR3: 0000000043110000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400