BTRFS error (device loop4): bad tree block start 0 30490624 BTRFS warning (device loop4): failed to recover relocation: -5 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8089 at fs/btrfs/volumes.c:936 __btrfs_close_devices+0x888/0xb20 syzkaller/managers/linux-4-14/kernel/fs/btrfs/volumes.c:936 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8089 Comm: syz-executor014 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58 panic+0x1f9/0x42d syzkaller/managers/linux-4-14/kernel/kernel/panic.c:183 __warn.cold+0x20/0x44 syzkaller/managers/linux-4-14/kernel/kernel/panic.c:547 report_bug+0x208/0x250 syzkaller/managers/linux-4-14/kernel/lib/bug.c:186 fixup_bug syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/traps.c:177 [inline] fixup_bug syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/entry_64.S:964 RIP: 0010:__btrfs_close_devices+0x888/0xb20 syzkaller/managers/linux-4-14/kernel/fs/btrfs/volumes.c:936 RSP: 0018:ffff888096fd7618 EFLAGS: 00010297 RAX: ffff8880b31d8140 RBX: dffffc0000000000 RCX: ffff888096fd7688 RDX: 0000000000000000 RSI: ffff8880b31d89f0 RDI: ffff8880a1fdc560 RBP: ffff8880b6104040 R08: 0000000000000282 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200 R13: dead000000000100 R14: ffff88808fea0340 R15: ffff8880b61040e0 btrfs_close_devices+0x24/0x140 syzkaller/managers/linux-4-14/kernel/fs/btrfs/volumes.c:949 open_ctree+0x241/0x7400 syzkaller/managers/linux-4-14/kernel/fs/btrfs/disk-io.c:3101 btrfs_fill_super syzkaller/managers/linux-4-14/kernel/fs/btrfs/super.c:1147 [inline] btrfs_mount+0x1915/0x1fe0 syzkaller/managers/linux-4-14/kernel/fs/btrfs/super.c:1631 mount_fs+0x92/0x2a0 syzkaller/managers/linux-4-14/kernel/fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 syzkaller/managers/linux-4-14/kernel/fs/namespace.c:1046 vfs_kern_mount+0x3c/0x60 syzkaller/managers/linux-4-14/kernel/fs/namespace.c:1036 mount_subvol syzkaller/managers/linux-4-14/kernel/fs/btrfs/super.c:1398 [inline] btrfs_mount+0x42a/0x1fe0 syzkaller/managers/linux-4-14/kernel/fs/btrfs/super.c:1569 mount_fs+0x92/0x2a0 syzkaller/managers/linux-4-14/kernel/fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 syzkaller/managers/linux-4-14/kernel/fs/namespace.c:1046 vfs_kern_mount syzkaller/managers/linux-4-14/kernel/fs/namespace.c:1036 [inline] do_new_mount syzkaller/managers/linux-4-14/kernel/fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 syzkaller/managers/linux-4-14/kernel/fs/namespace.c:2879 SYSC_mount syzkaller/managers/linux-4-14/kernel/fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 syzkaller/managers/linux-4-14/kernel/fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x44790a RSP: 002b:00007ffe069674f8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffe06967590 RCX: 000000000044790a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe06967550 RBP: 00007ffe06967550 R08: 00007ffe06967590 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000059 R13: 0000000000000004 R14: 0000000000000003 R15: 0000000020000100 Kernel Offset: disabled Rebooting in 86400 seconds..