loop0: detected capacity change from 32768 to 0 ------------[ cut here ]------------ ret WARNING: fs/btrfs/extent-tree.c:879 at lookup_inline_extent_backref+0x145c/0x1a90 fs/btrfs/extent-tree.c:879, CPU#0: syz.0.0/5348 Modules linked in: CPU: 0 UID: 0 PID: 5348 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:lookup_inline_extent_backref+0x145c/0x1a90 fs/btrfs/extent-tree.c:879 Code: 86 05 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 85 46 c9 07 cc e8 ff b3 b9 fd bb fe ff ff ff e9 05 fd ff ff 90 <0f> 0b 90 48 8b 84 24 88 00 00 00 48 b9 00 00 00 00 00 fc ff df 80 RSP: 0018:ffffc9000e416f40 EFLAGS: 00010202 RAX: ffffffff840d611b RBX: 0000000000000001 RCX: 0000000000000002 RDX: ffff888032e5a540 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000e417168 R08: 0000000000000000 R09: 1ffffd40002a1538 R10: dffffc0000000000 R11: fffff940002a1539 R12: ffff888043ff1630 R13: 00000000005d3000 R14: 000000000000001d R15: ffff888032f46000 FS: 00007fba4f6036c0(0000) GS:ffff88808c53f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5481c21120 CR3: 0000000043b64000 CR4: 0000000000352ef0 Call Trace: insert_inline_extent_backref+0xa8/0x300 fs/btrfs/extent-tree.c:1248 __btrfs_inc_extent_ref+0x262/0x820 fs/btrfs/extent-tree.c:1547 run_delayed_data_ref fs/btrfs/extent-tree.c:1663 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1855 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2058 [inline] __btrfs_run_delayed_refs+0xf98/0x43b0 fs/btrfs/extent-tree.c:2134 btrfs_run_delayed_refs+0xdc/0x2a0 fs/btrfs/extent-tree.c:2246 btrfs_start_dirty_block_groups+0xb7e/0xed0 fs/btrfs/block-group.c:3709 btrfs_commit_transaction+0x379/0x30b0 fs/btrfs/transaction.c:2292 sync_filesystem+0x1cf/0x230 fs/sync.c:66 btrfs_reconfigure+0x2dc/0x2100 fs/btrfs/super.c:1520 reconfigure_super+0x232/0x8f0 fs/super.c:1020 do_remount fs/namespace.c:3407 [inline] path_mount+0xd4b/0x1040 fs/namespace.c:4153 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:0x7fba4e79e019 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:00007fba4f602fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fba4ea26180 RCX: 00007fba4e79e019 RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000000000000000 RBP: 00007fba4e83500c R08: 0000000000000000 R09: 0000000000000000 R10: 00000000010f4c2a R11: 0000000000000246 R12: 0000000000000000 R13: 00007fba4ea26218 R14: 00007fba4ea26180 R15: 00007ffeaeea2a68