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 (5318) 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:6763 at btrfs_create_new_inode+0x1ddc/0x1ee0 fs/btrfs/inode.c:6763, CPU#0: syz.0.0/5318 Modules linked in: CPU: 0 UID: 0 PID: 5318 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:6763 Code: 00 00 00 83 fb f4 0f 85 e8 00 00 00 e8 dd e9 ae fd e9 e7 00 00 00 e8 d3 e9 ae fd eb 10 e8 cc e9 ae fd eb 09 e8 c5 e9 ae fd 90 <0f> 0b 90 89 d9 f7 d9 e9 b8 f8 ff ff e8 b3 e9 ae fd eb 10 e8 ac e9 RSP: 0018:ffffc9000f427620 EFLAGS: 00010287 RAX: ffffffff84184afb RBX: 00000000ffffffe4 RCX: 0000000000100000 RDX: ffffc9000eb09000 RSI: 0000000000001b73 RDI: 0000000000001b74 RBP: ffffc9000f427850 R08: ffff8880002fcb00 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000002 R12: ffff88804416c7b8 R13: ffff88804417c610 R14: 00000000ffffffe4 R15: ffff88804fea8001 FS: 00007f71745896c0(0000) GS:ffff88808c30a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0f1546e9c CR3: 000000003fe52000 CR4: 0000000000352ef0 Call Trace: btrfs_create_common+0x189/0x310 fs/btrfs/inode.c:6990 lookup_open+0xc0d/0x1a40 fs/namei.c:4567 open_last_lookups fs/namei.c:4767 [inline] path_openat+0x677/0x1d60 fs/namei.c:4997 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f717379e0d9 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:00007f7174588fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f7173a25fa0 RCX: 00007f717379e0d9 RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f7173835024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7173a26038 R14: 00007f7173a25fa0 R15: 00007fffebbb0ae8