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:00007f7989431028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f798b470fa0 RCX: 00007f798b1e4519 RDX: 0000000000000000 RSI: 000020000000b7c0 RDI: 000020000000b780 RBP: 00007f798b274136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f798b471038 R14: 00007f798b470fa0 R15: 00007ffc4894c028 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3311! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4326 Comm: syz.1.11 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 c9 33 78 fe e9 f5 f8 ff ff e8 df cd 32 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:ffffc9000329f240 EFLAGS: 00010246 RAX: ffffffff83468991 RBX: 1ffff1100efd9290 RCX: 0000000000080000 RDX: ffffc90003f23000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000329f390 R08: ffffffff910501ff R09: 1ffffffff220a03f R10: dffffc0000000000 R11: fffffbfff220a040 R12: ffff888059f79064 R13: ffff888077ec9480 R14: 00000000fffffff4 R15: 0000000000000005 FS: 00007f79894316c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b329f7ff8 CR3: 000000005d95d000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_force_cow_block+0xabf/0x1760 fs/btrfs/ctree.c:502 btrfs_cow_block+0x33e/0x7d0 fs/btrfs/ctree.c:598 btrfs_search_slot+0x9d4/0x2090 fs/btrfs/ctree.c:-1 btrfs_insert_empty_items+0x32c/0x3e0 fs/btrfs/ctree.c:4012 btrfs_insert_empty_item fs/btrfs/ctree.h:2957 [inline] insert_with_overflow+0xb2/0x250 fs/btrfs/dir-item.c:33 btrfs_insert_xattr_item+0x198/0x370 fs/btrfs/dir-item.c:77 btrfs_setxattr+0x49a/0x970 fs/btrfs/xattr.c:132 btrfs_setxattr_trans+0x107/0x370 fs/btrfs/xattr.c:260 __vfs_setxattr+0x3d8/0x410 fs/xattr.c:182 __vfs_setxattr_noperm+0x126/0x5e0 fs/xattr.c:216 vfs_setxattr+0x167/0x2e0 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x2cb/0x360 fs/xattr.c:611 path_setxattr+0x147/0x290 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 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:0x7f798b1e4519 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:00007f7989431028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f798b470fa0 RCX: 00007f798b1e4519 RDX: 0000000000000000 RSI: 000020000000b7c0 RDI: 000020000000b780 RBP: 00007f798b274136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f798b471038 R14: 00007f798b470fa0 R15: 00007ffc4894c028 Modules linked in: ---[ end trace 8830b9e0adea078e ]--- 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 c9 33 78 fe e9 f5 f8 ff ff e8 df cd 32 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:ffffc9000329f240 EFLAGS: 00010246 RAX: ffffffff83468991 RBX: 1ffff1100efd9290 RCX: 0000000000080000 RDX: ffffc90003f23000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000329f390 R08: ffffffff910501ff R09: 1ffffffff220a03f R10: dffffc0000000000 R11: fffffbfff220a040 R12: ffff888059f79064 R13: ffff888077ec9480 R14: 00000000fffffff4 R15: 0000000000000005 FS: 00007f79894316c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b329f7ff8 CR3: 000000005d95d000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 e8 ff ff ff mov $0xffffffffffffffe8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W