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: 10d, last: 2d20h
Sample crash report:
loop0: detected capacity change from 0 to 32768
BTRFS: device fsid c9fe44da-de57-406a-8241-57ec7d4412cf devid 1 transid 8 /dev/loop0 (7:0) scanned by syz.0.0 (5319)
BTRFS info (device loop0): first mount of filesystem c9fe44da-de57-406a-8241-57ec7d4412cf
BTRFS info (device loop0): using crc32c checksum algorithm
BTRFS info (device loop0): enabling ssd optimizations
BTRFS info (device loop0): turning on async discard
BTRFS info (device loop0): enabling free space tree
------------[ cut here ]------------
btrfs_abort_should_print_stack(__error)
WARNING: fs/btrfs/inode.c:6751 at btrfs_create_new_inode+0x1ddc/0x1ee0 fs/btrfs/inode.c:6751, CPU#0: syz.0.0/5319
Modules linked in:
CPU: 0 UID: 0 PID: 5319 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:6751
Code: 00 00 00 83 fb f4 0f 85 e8 00 00 00 e8 dd c4 b3 fd e9 e7 00 00 00 e8 d3 c4 b3 fd eb 10 e8 cc c4 b3 fd eb 09 e8 c5 c4 b3 fd 90 <0f> 0b 90 89 d9 f7 d9 e9 b8 f8 ff ff e8 b3 c4 b3 fd eb 10 e8 ac c4
RSP: 0018:ffffc9000f71f1a0 EFLAGS: 00010283
RAX: ffffffff84134ceb RBX: 00000000ffffffe4 RCX: 0000000000100000
RDX: ffffc9000ed41000 RSI: 00000000000111f7 RDI: 00000000000111f8
RBP: ffffc9000f71f3d0 R08: ffff888033074a80 R09: 0000000000000003
R10: 00000000fffffffb R11: 0000000000000002 R12: ffff8880131fdc48
R13: ffff888012230be0 R14: 00000000ffffffe4 R15: ffff8880523b4001
FS: 00007f11108b96c0(0000) GS:ffff88808c549000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbf99feaad8 CR3: 0000000042db2000 CR4: 0000000000352ef0
Call Trace:
<TASK>
btrfs_create_common+0x189/0x310 fs/btrfs/inode.c:6978
vfs_create+0x2c4/0x450 fs/namei.c:4202
ovl_do_create+0x81/0xf0 fs/overlayfs/overlayfs.h:244
ovl_create_real+0x1a8/0x740 fs/overlayfs/dir.c:180
ovl_lookup_or_create fs/overlayfs/super.c:631 [inline]
ovl_create_volatile_dirty+0x2c5/0x3e0 fs/overlayfs/super.c:655
ovl_make_workdir fs/overlayfs/super.c:776 [inline]
ovl_get_workdir fs/overlayfs/super.c:836 [inline]
ovl_fill_super_creds fs/overlayfs/super.c:1449 [inline]
ovl_fill_super+0x4797/0x5d40 fs/overlayfs/super.c:1560
vfs_get_super fs/super.c:1273 [inline]
get_tree_nodev+0xbb/0x150 fs/super.c:1292
vfs_get_tree+0x92/0x2a0 fs/super.c:1700
fc_mount fs/namespace.c:1198 [inline]
do_new_mount_fc fs/namespace.c:3765 [inline]
do_new_mount+0x319/0xdc0 fs/namespace.c:3841
do_mount fs/namespace.c:4174 [inline]
__do_sys_mount fs/namespace.c:4390 [inline]
__se_sys_mount+0x31d/0x420 fs/namespace.c:4367
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:0x7f110f99e0d9
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:00007f11108b8fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f110fc25fa0 RCX: 00007f110f99e0d9
RDX: 0000200000000680 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 00007f110fa35024 R08: 0000200000000340 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f110fc26038 R14: 00007f110fc25fa0 R15: 00007ffef97fab28
</TASK>
* Struck through repros no longer work on HEAD.