WARNING: CPU: 1 PID: 2516 at fs/btrfs/inode.c:3126 btrfs_finish_one_ordered+0x163d/0x1690 fs/btrfs/inode.c:3126 Modules linked in: CPU: 1 UID: 0 PID: 2516 Comm: kworker/u8:8 Not tainted 6.10.0-syzkaller-12888-g5437f30d3458 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: btrfs-endio-write btrfs_work_helper RIP: 0010:btrfs_finish_one_ordered+0x163d/0x1690 fs/btrfs/inode.c:3126 Code: 20 22 2c 8c 89 de e8 e2 7c a9 fd 90 0f 0b 90 90 e9 b2 fe ff ff e8 e3 6f e7 fd 90 48 c7 c7 20 22 2c 8c 89 de e8 c4 7c a9 fd 90 <0f> 0b 90 90 44 8b 64 24 1c e9 c8 fe ff ff 89 d9 80 e1 07 80 c1 03 RSP: 0018:ffffc900095679c0 EFLAGS: 00010246 RAX: 2256ee2979a00a00 RBX: 00000000ffffffe4 RCX: ffff888029f80000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90009567b18 R08: ffffffff81559202 R09: 1ffffffff269d721 R10: dffffc0000000000 R11: fffffbfff269d722 R12: 1ffff1100ef7c20c R13: ffff888077be1060 R14: 0000000000000000 R15: 00000000ffffffe4 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c9813a8950 CR3: 0000000023ab0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_work_helper+0x390/0xc50 fs/btrfs/async-thread.c:314 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244