RBP: 0000000020000180 R08: 00007f9793968f80 R09: 0000000001a404ac R10: 0000000001a404ac R11: 0000000000000202 R12: 0000000020000100 R13: 00007f9793968f40 R14: 0000000000000000 R15: 00000000200030c0 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3439! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 29024 Comm: syz-executor.3 Not tainted 6.7.0-rc5-syzkaller-00030-geaadbbaaff74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:btrfs_free_tree_block+0x7e4/0xbe0 fs/btrfs/extent-tree.c:3439 Code: fc fd 31 ff 89 c5 89 c6 e8 e9 bc 13 fe 40 84 ed 0f 85 e6 fb ff ff e8 ab c1 13 fe 90 0f 0b 90 e9 d8 fb ff ff e8 9d c1 13 fe 90 <0f> 0b e8 95 c1 13 fe 49 8d 7c 24 30 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc9000a1075d0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807c3ea3b0 RCX: ffffc9000b09b000 RDX: 0000000000040000 RSI: ffffffff8372bf13 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff88803f955898 R13: ffff88807c3ea3b8 R14: 00000000fffffff4 R15: 0000000000000001 FS: 00007f97939696c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc763fbf28 CR3: 0000000015abc000 CR4: 00000000003506f0 Call Trace: btrfs_force_cow_block+0xfe3/0x19e0 fs/btrfs/ctree.c:618 btrfs_cow_block+0x2b6/0xb30 fs/btrfs/ctree.c:741 commit_cowonly_roots+0x18b/0xa60 fs/btrfs/transaction.c:1380 btrfs_commit_transaction+0x1382/0x3b40 fs/btrfs/transaction.c:2487 btrfs_sync_fs+0x130/0x770 fs/btrfs/super.c:1188 sync_filesystem+0x1c5/0x280 fs/sync.c:66 btrfs_remount+0x1ff/0x17b0 fs/btrfs/super.c:1652 legacy_reconfigure+0x119/0x180 fs/fs_context.c:685 reconfigure_super+0x44f/0xb10 fs/super.c:1143 do_remount fs/namespace.c:2884 [inline] path_mount+0x16f2/0x1ed0 fs/namespace.c:3656 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount fs/namespace.c:3863 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f9792c7e2aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f9793968ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9793968f80 RCX: 00007f9792c7e2aa RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 0000000020000180 R08: 00007f9793968f80 R09: 0000000001a404ac R10: 0000000001a404ac R11: 0000000000000202 R12: 0000000020000100 R13: 00007f9793968f40 R14: 0000000000000000 R15: 00000000200030c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btrfs_free_tree_block+0x7e4/0xbe0 fs/btrfs/extent-tree.c:3439 Code: fc fd 31 ff 89 c5 89 c6 e8 e9 bc 13 fe 40 84 ed 0f 85 e6 fb ff ff e8 ab c1 13 fe 90 0f 0b 90 e9 d8 fb ff ff e8 9d c1 13 fe 90 <0f> 0b e8 95 c1 13 fe 49 8d 7c 24 30 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc9000a1075d0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88807c3ea3b0 RCX: ffffc9000b09b000 RDX: 0000000000040000 RSI: ffffffff8372bf13 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff4 R11: 0000000000000001 R12: ffff88803f955898 R13: ffff88807c3ea3b8 R14: 00000000fffffff4 R15: 0000000000000001 FS: 00007f97939696c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557c4124d0d0 CR3: 0000000015abc000 CR4: 00000000003506f0