RAX: ffffffffffffffda RBX: 00007fd8f5f8bfa0 RCX: 00007fd8f5d0f559 RDX: 0000000000000000 RSI: 0000200000000780 RDI: 0000000000000000 RBP: 00007fd8f5d9e136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd8f5f8c038 R14: 00007fd8f5f8bfa0 R15: 00007fff358543b8 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3311! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5055 Comm: syz.1.129 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:btrfs_free_tree_block+0xb71/0xb80 fs/btrfs/extent-tree.c:3311 Code: e9 02 f9 ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 07 f9 ff ff be 08 00 00 00 4c 89 e7 e8 69 fb 78 fe e9 f5 f8 ff ff e8 6f b2 33 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 55 RSP: 0018:ffffc9000400ef40 EFLAGS: 00010246 RAX: ffffffff83457b21 RBX: 1ffff1100b8748de RCX: 0000000000080000 RDX: ffffc90005da1000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000400f090 R08: ffffffff910471f7 R09: 1ffffffff2208e3e R10: dffffc0000000000 R11: fffffbfff2208e3f R12: ffff88805fa74064 R13: ffff88805c3a46f0 R14: 00000000fffffff4 R15: 000000000000000a FS: 00007fd8f3f5c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a4da96000 CR3: 0000000020550000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_force_cow_block+0xc4d/0x1760 fs/btrfs/ctree.c:480 btrfs_cow_block+0x33e/0x7d0 fs/btrfs/ctree.c:598 btrfs_search_slot+0x9d4/0x2090 fs/btrfs/ctree.c:-1 btrfs_search_prev_slot fs/btrfs/free-space-tree.c:121 [inline] remove_free_space_extent fs/btrfs/free-space-tree.c:713 [inline] __remove_from_free_space_tree fs/btrfs/free-space-tree.c:808 [inline] remove_from_free_space_tree+0x3a2/0xa50 fs/btrfs/free-space-tree.c:837 alloc_reserved_tree_block fs/btrfs/extent-tree.c:4713 [inline] run_delayed_tree_ref fs/btrfs/extent-tree.c:1702 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1731 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1977 [inline] __btrfs_run_delayed_refs+0x1424/0x3920 fs/btrfs/extent-tree.c:2041 btrfs_run_delayed_refs+0x133/0x480 fs/btrfs/extent-tree.c:2172 btrfs_commit_transaction+0x23d/0x3580 fs/btrfs/transaction.c:2180 sync_filesystem+0x1be/0x220 fs/sync.c:66 btrfs_remount+0x226/0x1770 fs/btrfs/super.c:1927 reconfigure_super+0x224/0x8d0 fs/super.c:938 do_remount fs/namespace.c:2723 [inline] path_mount+0xc5a/0xfe0 fs/namespace.c:3410 do_mount fs/namespace.c:3431 [inline] __do_sys_mount fs/namespace.c:3639 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3616 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd8f5d0f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd8f3f5c028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd8f5f8bfa0 RCX: 00007fd8f5d0f559 RDX: 0000000000000000 RSI: 0000200000000780 RDI: 0000000000000000 RBP: 00007fd8f5d9e136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd8f5f8c038 R14: 00007fd8f5f8bfa0 R15: 00007fff358543b8 Modules linked in: ---[ end trace d2032a66635dc761 ]--- RIP: 0010:btrfs_free_tree_block+0xb71/0xb80 fs/btrfs/extent-tree.c:3311 Code: e9 02 f9 ff ff 44 89 e1 80 e1 07 38 c1 0f 8c 07 f9 ff ff be 08 00 00 00 4c 89 e7 e8 69 fb 78 fe e9 f5 f8 ff ff e8 6f b2 33 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 41 57 41 56 41 55 RSP: 0018:ffffc9000400ef40 EFLAGS: 00010246 RAX: ffffffff83457b21 RBX: 1ffff1100b8748de RCX: 0000000000080000 RDX: ffffc90005da1000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000400f090 R08: ffffffff910471f7 R09: 1ffffffff2208e3e R10: dffffc0000000000 R11: fffffbfff2208e3f R12: ffff88805fa74064 R13: ffff88805c3a46f0 R14: 00000000fffffff4 R15: 000000000000000a FS: 00007fd8f3f5c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0a4da96000 CR3: 0000000020550000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400