WARNING in btrfs_create_new_inode (3)

Status: upstream: reported on 2026/08/10 00:12
Subsystems: btrfs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+c1b8c52e6c0142c5e448@syzkaller.appspotmail.com
First crash: 5d21h, last: 5d21h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
d615a2d1 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING in btrfs_create_new_inode (3) 2026/08/09 09:11 2026/08/09 09:11 2026/08/09 09:58 5d63f80b
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_create_new_inode (3) 0 (1) 2026/08/10 00:12
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in btrfs_create_new_inode (2) -1 1 350d 350d 0/3 auto-obsoleted due to no activity on 2025/12/02 17:31
upstream WARNING in btrfs_create_new_inode btrfs -1 syz, C 5 1088d 1372d 0/29 auto-obsoleted due to no activity on 2023/11/26 02:10
linux-6.1 WARNING in btrfs_create_new_inode -1 2 606d 618d 0/3 auto-obsoleted due to no activity on 2025/03/22 10:24
linux-6.6 WARNING in btrfs_create_new_inode -1 2 392d 393d 0/2 auto-obsoleted due to no activity on 2025/10/21 20:33
upstream WARNING in btrfs_create_new_inode (2) btrfs -1 4 401d 519d 0/29 auto-obsoleted due to no activity on 2025/10/12 16:42

Sample crash report:
------------[ cut here ]------------
btrfs_abort_should_print_stack(__error)
WARNING: fs/btrfs/inode.c:6576 at btrfs_create_new_inode+0x1ddc/0x1ee0 fs/btrfs/inode.c:6576, CPU#0: syz.0.0/5350
Modules linked in:
CPU: 0 UID: 0 PID: 5350 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:btrfs_create_new_inode+0x1ddc/0x1ee0 fs/btrfs/inode.c:6576
Code: 00 00 00 83 fb f4 0f 85 e8 00 00 00 e8 6d 8d b3 fd e9 e7 00 00 00 e8 63 8d b3 fd eb 10 e8 5c 8d b3 fd eb 09 e8 55 8d b3 fd 90 <0f> 0b 90 89 d9 f7 d9 e9 b8 f8 ff ff e8 43 8d b3 fd eb 10 e8 3c 8d
RSP: 0018:ffffc9000e4676c0 EFLAGS: 00010287
RAX: ffffffff8413956b RBX: 00000000ffffffe4 RCX: 0000000000100000
RDX: ffffc90020802000 RSI: 000000000000106b RDI: 000000000000106c
RBP: ffffc9000e4678f0 R08: ffff888032e5ca80 R09: 0000000000000003
R10: 00000000fffffffb R11: 0000000000000002 R12: ffff888052814640
R13: ffff888042f14610 R14: 00000000ffffffe4 R15: ffff88805203c001
FS:  00007f21d3c956c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000380000 CR3: 000000003ecc1000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 btrfs_create_common+0x189/0x310 fs/btrfs/inode.c:6803
 lookup_open fs/namei.c:4508 [inline]
 open_last_lookups fs/namei.c:4608 [inline]
 path_openat+0x133a/0x3830 fs/namei.c:4860
 do_file_open+0x23e/0x4a0 fs/namei.c:4892
 do_sys_openat2+0x115/0x200 fs/open.c:1368
 do_sys_open fs/open.c:1374 [inline]
 __do_sys_openat fs/open.c:1390 [inline]
 __se_sys_openat fs/open.c:1385 [inline]
 __x64_sys_openat+0x138/0x170 fs/open.c:1385
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f21d2d9e019
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:00007f21d3c94fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f21d3026180 RCX: 00007f21d2d9e019
RDX: 000000000000275a RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f21d2e3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f21d3026218 R14: 00007f21d3026180 R15: 00007ffd6a122ff8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 14:13 upstream 848acc8ffe1b 3c5eaa21 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_create_new_inode
* Struck through repros no longer work on HEAD.