RAX: ffffffffffffffda RBX: 00007fb6b1a25fa0 RCX: 00007fb6b179f559 RDX: 0000000000000000 RSI: 000020000000cfc0 RDI: 000020000000cf80 RBP: 00007fb6b1836b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb6b1a26038 R14: 00007fb6b1a25fa0 R15: 00007ffd1cf59a58 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3300! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 11676 Comm: syz.2.1459 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:btrfs_free_tree_block+0xc33/0xc40 fs/btrfs/extent-tree.c:3300 Code: e9 c1 f8 ff ff 44 89 f9 80 e1 07 38 c1 0f 8c c6 f8 ff ff be 08 00 00 00 4c 89 ff e8 b7 e9 68 fe e9 b4 f8 ff ff e8 fd 8c 17 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc900039b7180 EFLAGS: 00010246 RAX: ffffffff836ab983 RBX: 1ffff1100ab72b0c RCX: 0000000000080000 RDX: ffffc900184ad000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900039b72d0 R08: ffffffff91b7036f R09: 1ffffffff236e06d R10: dffffc0000000000 R11: fffffbfff236e06e R12: ffffc900039b7200 R13: ffff888055b95740 R14: 00000000fffffff4 R15: dffffc0000000000 FS: 00007fb6b26d46c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b81b566000 CR3: 0000000029f05000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: btrfs_force_cow_block+0xad1/0x17f0 fs/btrfs/ctree.c:527 btrfs_cow_block+0x33e/0x7f0 fs/btrfs/ctree.c:623 btrfs_search_slot+0xad0/0x2770 fs/btrfs/ctree.c:-1 btrfs_insert_empty_items+0x99/0x180 fs/btrfs/ctree.c:4187 btrfs_insert_empty_item fs/btrfs/ctree.h:3073 [inline] insert_with_overflow+0x100/0x350 fs/btrfs/dir-item.c:32 btrfs_insert_xattr_item+0x198/0x370 fs/btrfs/dir-item.c:75 btrfs_setxattr+0x2ee/0x780 fs/btrfs/xattr.c:132 btrfs_setxattr_trans+0x107/0x310 fs/btrfs/xattr.c:258 __vfs_setxattr+0x3d8/0x410 fs/xattr.c:182 __vfs_setxattr_noperm+0x126/0x5e0 fs/xattr.c:216 vfs_setxattr+0x167/0x2e0 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x2a3/0x330 fs/xattr.c:617 path_setxattr+0x147/0x290 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb6b179f559 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:00007fb6b26d4028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fb6b1a25fa0 RCX: 00007fb6b179f559 RDX: 0000000000000000 RSI: 000020000000cfc0 RDI: 000020000000cf80 RBP: 00007fb6b1836b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb6b1a26038 R14: 00007fb6b1a25fa0 R15: 00007ffd1cf59a58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btrfs_free_tree_block+0xc33/0xc40 fs/btrfs/extent-tree.c:3300 Code: e9 c1 f8 ff ff 44 89 f9 80 e1 07 38 c1 0f 8c c6 f8 ff ff be 08 00 00 00 4c 89 ff e8 b7 e9 68 fe e9 b4 f8 ff ff e8 fd 8c 17 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc900039b7180 EFLAGS: 00010246 RAX: ffffffff836ab983 RBX: 1ffff1100ab72b0c RCX: 0000000000080000 RDX: ffffc900184ad000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc900039b72d0 R08: ffffffff91b7036f R09: 1ffffffff236e06d R10: dffffc0000000000 R11: fffffbfff236e06e R12: ffffc900039b7200 R13: ffff888055b95740 R14: 00000000fffffff4 R15: dffffc0000000000 FS: 00007fb6b26d46c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32b23ffc CR3: 0000000029f05000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600