BTRFS info (device loop0): enabling ssd optimizations ------------[ cut here ]------------ BTRFS: Transaction aborted (error -12) WARNING: CPU: 1 PID: 3604 at fs/btrfs/extent-tree.c:3067 __btrfs_free_extent+0xbf6/0x2540 fs/btrfs/extent-tree.c:3067 Modules linked in: CPU: 1 PID: 3604 Comm: syz-executor311 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__btrfs_free_extent+0xbf6/0x2540 fs/btrfs/extent-tree.c:3067 Code: fa 31 c0 e8 7e 29 ae 06 4c 8b 64 24 08 4c 8b 6c 24 10 eb 1a e8 8b 2e 04 fe 48 c7 c7 a0 32 da 8a 44 89 fe 31 c0 e8 da cc cb fd <0f> 0b b3 01 44 0f b6 c3 4c 89 ef 48 c7 c6 00 40 da 8a ba fb 0b 00 RSP: 0018:ffffc90003c4f600 EFLAGS: 00010246 RAX: 1d499b28e27a2c00 RBX: ffff88802756c001 RCX: ffff88801ee1d7c0 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90003c4f780 R08: ffffffff816b8dfd R09: ffffed1017364f13 R10: ffffed1017364f13 R11: 1ffff11017364f12 R12: ffff8880277d2a50 R13: ffff888070ce3150 R14: 0000000000000001 R15: 00000000fffffff4 FS: 00005555567bf300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1911b2a300 CR3: 000000001e181000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_run_delayed_refs_for_head+0xe20/0x1df0 fs/btrfs/extent-tree.c:1943 __btrfs_run_delayed_refs+0x25f/0x490 fs/btrfs/extent-tree.c:2008 btrfs_run_delayed_refs+0x13b/0x4a0 fs/btrfs/extent-tree.c:2139 btrfs_commit_transaction+0x3a9/0x3760 fs/btrfs/transaction.c:2123 sync_filesystem+0x1bc/0x220 fs/sync.c:66 __do_sys_syncfs fs/sync.c:160 [inline] __se_sys_syncfs+0x8f/0x110 fs/sync.c:149 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa6dc2ca1e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc86519f18 EFLAGS: 00000246 ORIG_RAX: 0000000000000132 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa6dc2ca1e9 RDX: 0000000000000f20 RSI: 000000000000c0c2 RDI: 0000000000000003 RBP: 00007ffc86519f20 R08: 0000000000000001 R09: 00007fa6dc330036 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000000 R14: 0000100000000000 R15: 0000000000000000