syzbot


WARNING in btrfs_create_new_inode (2)

Status: upstream: reported on 2025/03/08 19:48
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+35244a1be5611b840ab2@syzkaller.appspotmail.com
First crash: 155d, last: 33d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_create_new_inode (2) 0 (1) 2025/03/08 19:48
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_create_new_inode btrfs -1 C 5 720d 1004d 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 237d 250d 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 24d 25d 0/2 upstream: reported on 2025/07/12 21:32

Sample crash report:
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 14958 at fs/btrfs/inode.c:6517 btrfs_create_new_inode+0x1540/0x19f0 fs/btrfs/inode.c:6517
Modules linked in:
CPU: 0 UID: 0 PID: 14958 Comm: syz.3.951 Not tainted 6.16.0-rc4-syzkaller-00123-g4c06e63b9203 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:btrfs_create_new_inode+0x1540/0x19f0 fs/btrfs/inode.c:6517
Code: 8b 49 89 dc 44 89 e2 e8 7e 48 65 fd e9 88 fb ff ff e8 04 83 fb fd 90 48 c7 c7 00 8d cd 8b 49 89 dc 44 89 e6 e8 b1 2b bf fd 90 <0f> 0b 90 90 e9 66 fb ff ff e8 e2 82 fb fd eb 05 e8 db 82 fb fd 48
RSP: 0018:ffffc900040af9e0 EFLAGS: 00010246
RAX: b36d25d3275bc900 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9001bc90000 RSI: 00000000000033d5 RDI: 00000000000033d6
RBP: ffffc900040afc10 R08: ffff8880b8624293 R09: 1ffff110170c4852
R10: dffffc0000000000 R11: ffffed10170c4853 R12: 00000000ffffffe4
R13: 0000000000000000 R14: ffff88806c6f6bf0 R15: 1ffff1100d8ded7e
FS:  00007fcb2c3d56c0(0000) GS:ffff888125c51000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb2c3d4f98 CR3: 0000000075848000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 btrfs_create_common+0x167/0x230 fs/btrfs/inode.c:6750
 btrfs_mkdir+0xc7/0xf0 fs/btrfs/inode.c:6888
 vfs_mkdir+0x306/0x510 fs/namei.c:4375
 do_mkdirat+0x247/0x590 fs/namei.c:4408
 __do_sys_mkdirat fs/namei.c:4425 [inline]
 __se_sys_mkdirat fs/namei.c:4423 [inline]
 __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4423
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcb2e58e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcb2c3d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fcb2e7b6080 RCX: 00007fcb2e58e929
RDX: 0000000000000000 RSI: 0000200000000340 RDI: 0000000000000003
RBP: 00007fcb2e610b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fcb2e7b6080 R15: 00007fff06638a58
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/04 16:41 upstream 4c06e63b9203 d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_new_inode
2025/03/04 19:37 upstream 99fa936e8e4f c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_new_inode
2025/05/03 18:29 upstream 95d3481af6dc b0714e37 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_create_new_inode
2025/05/01 19:32 upstream 4f79eaa2ceac 51b137cd .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.