syzbot
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: 6d06h, last: 6d06h
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>
* Struck through repros no longer work on HEAD.