WARNING: CPU: 1 PID: 21773 at fs/btrfs/extent-tree.c:2248 btrfs_run_delayed_refs+0x2b3/0x2c0 fs/btrfs/extent-tree.c:2248 Modules linked in: CPU: 1 PID: 21773 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:btrfs_run_delayed_refs+0x2b3/0x2c0 fs/btrfs/extent-tree.c:2248 Code: 38 c1 0f 8c d5 fd ff ff 48 89 df e8 a7 be 5b fe e9 c8 fd ff ff e8 fd b9 ff fd 90 48 c7 c7 a0 a6 aa 8b 89 de e8 8e aa c5 fd 90 <0f> 0b 90 90 eb 9a 0f 1f 80 00 00 00 00 f3 0f 1e fa 55 48 89 e5 41 RSP: 0018:ffffc9001a53f578 EFLAGS: 00010246 RAX: 9cfea45bf4cebf00 RBX: 00000000fffffffe RCX: ffff888029fb1dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888016398001 R08: ffffffff81546d22 R09: 1ffffffff21bb28f R10: dffffc0000000000 R11: fffffbfff21bb290 R12: 0000000000000000 R13: ffff88807e0d6e40 R14: dffffc0000000000 R15: ffff88807e0d6de0 FS: 00007fc2851b16c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e2025d7c28 CR3: 000000007e4b0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x4ba/0x3740 fs/btrfs/transaction.c:2235 btrfs_sync_file+0xf50/0x1330 fs/btrfs/file.c:2004 generic_write_sync include/linux/fs.h:2653 [inline] btrfs_do_write_iter+0xbc5/0x1190 fs/btrfs/file.c:1694 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fc28447cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc2851b10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc28459bf80 RCX: 00007fc28447cce9 RDX: 0000000000001003 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00007fc2844c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc28459bf80 R15: 00007ffd70ef5918