WARNING in btrfs_copy_root

Status: upstream: reported syz repro on 2026/11/30 11:01
Reported-by: syzbot+42229056f69cb81aaefb@syzkaller.appspotmail.com
First crash: 12h35m, last: 12h35m

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4454 at fs/btrfs/ctree.c:230 btrfs_copy_root+0x879/0xad0 fs/btrfs/ctree.c:230
Modules linked in:
CPU: 1 PID: 4454 Comm: syz.2.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:btrfs_copy_root+0x879/0xad0 fs/btrfs/ctree.c:230
Code: e8 3c 64 35 fe 4c 8b 64 24 18 0f 1f 44 00 00 e8 2d 64 35 fe eb 16 e8 26 64 35 fe 48 c7 c7 a0 f3 6a 8a 44 89 f6 e8 47 a9 7c 06 <0f> 0b 48 8b 7c 24 20 48 c7 c6 20 f4 6a 8a ba e6 00 00 00 44 89 f1
RSP: 0000:ffffc9000344f580 EFLAGS: 00010246
RAX: 07a76cbdfb0f2600 RBX: 1ffff1100ea54621 RCX: ffff888028e4bb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000344f6b0 R08: ffff8880b8f2795b R09: 1ffff110171e4f2b
R10: dffffc0000000000 R11: ffffed10171e4f2c R12: 1ffff92000689ec0
R13: dffffc0000000000 R14: 00000000fffffff4 R15: ffff8880752a3108
FS:  00007f8f79fe06c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8f7a9d3360 CR3: 00000000756a0000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 create_pending_snapshot+0xc6e/0x28d0 fs/btrfs/transaction.c:1770

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/30 11:01 linux-5.15.y 4f2df9a01754 e1f06033 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (clean fs)] ci2-linux-5-15-kasan WARNING in btrfs_copy_root
* Struck through repros no longer work on HEAD.