syzbot


WARNING in btrfs_create_new_inode

Status: upstream: reported on 2025/07/12 21:32
Reported-by: syzbot+0be0c8ad07ca18159cf5@syzkaller.appspotmail.com
First crash: 5d20h, last: 4d20h
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 700d 985d 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 218d 230d 0/3 auto-obsoleted due to no activity on 2025/03/22 10:24
upstream WARNING in btrfs_create_new_inode (2) btrfs -1 4 14d 131d 0/29 upstream: reported on 2025/03/08 19:48

Sample crash report:
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 3164 at fs/btrfs/inode.c:6318 btrfs_create_new_inode+0x1a58/0x2210 fs/btrfs/inode.c:6318
Modules linked in:
CPU: 0 PID: 3164 Comm: syz.3.5625 Not tainted 6.6.97-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:btrfs_create_new_inode+0x1a58/0x2210 fs/btrfs/inode.c:6318
Code: 0b fe 48 c7 c7 c0 0c ed 8a 89 de e8 62 58 d6 fd 0f 0b e9 ae fe ff ff e8 f6 f3 0b fe 48 c7 c7 c0 0c ed 8a 89 de e8 48 58 d6 fd <0f> 0b e9 3a fc ff ff e8 dc f3 0b fe 4c 8b 64 24 08 e9 dc e8 ff ff
RSP: 0018:ffffc9000420fa40 EFLAGS: 00010246
RAX: 9d760ff342e8bb00 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9001b47d000 RSI: 000000000000ecf1 RDI: 000000000000ecf2
RBP: ffffc9000420fc90 R08: ffffc9000420f647 R09: 1ffff92000841ec8
R10: dffffc0000000000 R11: fffff52000841ec9 R12: ffff88802edd0001
R13: 1ffff1100ef7875a R14: dffffc0000000000 R15: 0000000000000000
FS:  00007fd95d0886c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c42ac1b CR3: 000000006977b000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 btrfs_create_common+0x177/0x240 fs/btrfs/inode.c:6544
 vfs_mkdir+0x296/0x440 fs/namei.c:4113
 do_mkdirat+0x1d4/0x440 fs/namei.c:4136
 __do_sys_mkdirat fs/namei.c:4151 [inline]
 __se_sys_mkdirat fs/namei.c:4149 [inline]
 __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd95c18e929
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:00007fd95d088038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fd95c3b6240 RCX: 00007fd95c18e929
RDX: 0000000000000000 RSI: 0000200000000340 RDI: 0000000000000003
RBP: 00007fd95c210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd95c3b6240 R15: 00007ffee56173e8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/13 20:33 linux-6.6.y 59a2de10b81a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_create_new_inode
2025/07/12 21:31 linux-6.6.y 59a2de10b81a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_create_new_inode
* Struck through repros no longer work on HEAD.