WARNING in btrfs_create_new_inode (3)

Status: upstream: reported C repro on 2026/09/27 06:04
Reported-by: syzbot+7e85cd5eccc88b694836@syzkaller.appspotmail.com
First crash: 4d11h, last: 4d03h
▶ ▼ Similar bugs (6)
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 402d 402d 0/3 auto-obsoleted due to no activity on 2025/12/02 17:31
upstream WARNING in btrfs_create_new_inode (3) prio:high btrfs -1 16 4d16h 52d 0/29 upstream: reported on 2026/08/10 00:12
upstream WARNING in btrfs_create_new_inode btrfs -1 syz, C 5 1140d 1425d 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 658d 670d 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 444d 445d 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 454d 571d 0/29 auto-obsoleted due to no activity on 2025/10/12 16:42

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4750 at fs/btrfs/inode.c:6637 btrfs_create_new_inode+0x1c88/0x2610 fs/btrfs/inode.c:6637
Modules linked in:
CPU: 1 PID: 4750 Comm: syz.2.45 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:btrfs_create_new_inode+0x1c88/0x2610 fs/btrfs/inode.c:6637
Code: cf 8a 44 89 fe e8 58 53 dc fd 0f 0b 4c 8b 64 24 10 e9 57 ff ff ff e8 67 cc 10 fe 48 c7 c7 e0 db cf 8a 44 89 fe e8 38 53 dc fd <0f> 0b e9 27 fe ff ff e8 4c cc 10 fe e9 b3 e7 ff ff e8 42 cc 10 fe
RSP: 0018:ffffc90003dc7600 EFLAGS: 00010246
RAX: 726138aeaf32fa00 RBX: 0000000000000000 RCX: ffff88802df3bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffc90003dc7850 R08: ffffc90003dc7287 R09: 1ffff920007b8e50
R10: dffffc0000000000 R11: fffff520007b8e51 R12: 1ffff1100e3b4649
R13: ffff88801eb2c001 R14: 1ffff920007b8edc R15: 00000000ffffffe4
FS:  00007f36515af6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f36507eb840 CR3: 0000000056f76000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_create_common+0x195/0x270 fs/btrfs/inode.c:6866
 lookup_open fs/namei.c:3533 [inline]
 open_last_lookups fs/namei.c:3601 [inline]
 path_openat+0x11b9/0x2f10 fs/namei.c:3831
 do_filp_open+0x1ee/0x420 fs/namei.c:3861
 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320
 do_sys_open fs/open.c:1336 [inline]
 __do_sys_openat fs/open.c:1352 [inline]
 __se_sys_openat fs/open.c:1347 [inline]
 __x64_sys_openat+0x135/0x160 fs/open.c:1347
 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:0x7f365079e159
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:00007f36515af028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f3650a26090 RCX: 00007f365079e159
RDX: 000000000000275a RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f365083506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3650a26128 R14: 00007f3650a26090 R15: 00007fff6bd71328
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/27 13:41 linux-6.1.y 1a8763b93150 a3c7249d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in btrfs_create_new_inode
2026/09/27 10:57 linux-6.1.y 1a8763b93150 a3c7249d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in btrfs_create_new_inode
2026/09/27 06:04 linux-6.1.y 1a8763b93150 a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_new_inode
* Struck through repros no longer work on HEAD.