WARNING in btrfs_rename2

Status: upstream: reported on 2026/11/23 07:22
Reported-by: syzbot+7f6a8e5e1af5cdcc84f4@syzkaller.appspotmail.com
First crash: 11h00m, last: 11h00m
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_rename2 origin:lts-only -1 syz, C error 6 66d 1323d 0/3 upstream: reported C repro on 2023/04/10 13:43
upstream WARNING in btrfs_rename2 (2) prio:low btrfs -1 syz, C error 12 35d 187d 0/29 upstream: reported C repro on 2026/05/19 20:54
upstream WARNING in btrfs_rename2 btrfs -1 9 655d 701d 0/29 auto-obsoleted due to no activity on 2025/05/17 15:51

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5278 at fs/btrfs/inode.c:9774 btrfs_rename fs/btrfs/inode.c:9774 [inline]
WARNING: CPU: 1 PID: 5278 at fs/btrfs/inode.c:9774 btrfs_rename2+0x292a/0x2c10 fs/btrfs/inode.c:9858
Modules linked in:
CPU: 1 PID: 5278 Comm: syz.0.178 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:btrfs_rename fs/btrfs/inode.c:9774 [inline]
RIP: 0010:btrfs_rename2+0x292a/0x2c10 fs/btrfs/inode.c:9858
Code: ff ff 48 8b 7c 24 18 e8 14 82 66 fe 48 8b 54 24 18 e9 f2 e3 ff ff e8 55 1e 15 fe 48 c7 c7 20 dc ee 8a 44 89 ee e8 06 80 e0 fd <0f> 0b e9 3d fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 6b eb
RSP: 0018:ffffc9000595f800 EFLAGS: 00010246

RAX: 5266c114a190a900 RBX: ffff8880294b0001 RCX: 0000000000080000
RDX: ffffc9001076f000 RSI: 000000000001f20f RDI: 000000000001f210
RBP: ffffc9000595fbb0 R08: ffff8880b8d279db R09: 1ffff110171a4f3b
R10: dffffc0000000000 R11: ffffed10171a4f3c R12: ffff88805085a0f8
R13: 00000000ffffffe4 R14: 0000000000000000 R15: 1ffff1100a10b41f
FS:  00007fb4bfbac6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb4bfb8bd58 CR3: 000000007837a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vfs_rename+0xd57/0x10f0 fs/namei.c:4929
 do_renameat2+0x8ac/0xc80 fs/namei.c:5082
 __do_sys_rename fs/namei.c:5128 [inline]
 __se_sys_rename fs/namei.c:5126 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5126
 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:0x7fb4beda9559
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:00007fb4bfbac028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fb4bf026180 RCX: 00007fb4beda9559
RDX: 0000000000000000 RSI: 0000200000006f40 RDI: 0000200000006f00
RBP: 00007fb4bee38136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb4bf026218 R14: 00007fb4bf026180 R15: 00007fffc340e278
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/23 07:21 linux-6.1.y c75b0cf0982c b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_rename2
* Struck through repros no longer work on HEAD.