RSP: 002b:00007f34331e1a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f34331e1b40 RCX: 000000000045bcca RDX: 00007f34331e1ae0 RSI: 00000000200000c0 RDI: 00007f34331e1b00 RBP: 0000000000000001 R08: 00007f34331e1b40 R09: 00007f34331e1ae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c7ebe R14: 00000000004de3b8 R15: 0000000000000003 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1270! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5871 Comm: syz-executor.1 Not tainted 5.2.0-rc2-next-20190531 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1270 [inline] RIP: 0010:close_fs_devices.part.0+0x5b9/0x790 fs/btrfs/volumes.c:1295 Code: 3c 03 0f 8e 44 01 00 00 48 8b 45 c0 c7 80 20 01 00 00 00 00 00 00 48 83 c4 48 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a7 b8 c3 fe <0f> 0b e8 a0 b8 c3 fe 0f 0b e8 99 b8 c3 fe 0f 0b e9 16 ff ff ff e8 RSP: 0018:ffff8880a90977a0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88809af72040 RCX: ffffc90012987000 RDX: 0000000000040000 RSI: ffffffff82ad31c9 RDI: 0000000000000007 RBP: ffff8880a9097810 R08: ffff888097800500 R09: ffffed1015d06be8 R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880952dadc0 R15: fffffffffffffff4 FS: 00007f34331e2700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000738000 CR3: 0000000099ca9000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: close_fs_devices fs/btrfs/volumes.c:1327 [inline] btrfs_close_devices+0xa0/0x200 fs/btrfs/volumes.c:1313 btrfs_mount_root+0xf0c/0x1220 fs/btrfs/super.c:1569 legacy_get_tree+0x108/0x220 fs/fs_context.c:661 vfs_get_tree+0x8e/0x390 fs/super.c:1476 fc_mount+0x17/0xc0 fs/namespace.c:983 vfs_kern_mount.part.0+0xd8/0xf0 fs/namespace.c:1013 vfs_kern_mount+0x40/0x60 fs/namespace.c:1000 btrfs_mount+0x2b4/0x15e2 fs/btrfs/super.c:1620 legacy_get_tree+0x108/0x220 fs/fs_context.c:661 vfs_get_tree+0x8e/0x390 fs/super.c:1476 do_new_mount fs/namespace.c:2790 [inline] do_mount+0x138c/0x1c00 fs/namespace.c:3110 ksys_mount+0xdb/0x150 fs/namespace.c:3319 __do_sys_mount fs/namespace.c:3333 [inline] __se_sys_mount fs/namespace.c:3330 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3330 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45bcca Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 9d 8d fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 7a 8d fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f34331e1a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f34331e1b40 RCX: 000000000045bcca RDX: 00007f34331e1ae0 RSI: 00000000200000c0 RDI: 00007f34331e1b00 RBP: 0000000000000001 R08: 00007f34331e1b40 R09: 00007f34331e1ae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c7ebe R14: 00000000004de3b8 R15: 0000000000000003 Modules linked in: ---[ end trace 87bbe84d847473a2 ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1270 [inline] RIP: 0010:close_fs_devices.part.0+0x5b9/0x790 fs/btrfs/volumes.c:1295 Code: 3c 03 0f 8e 44 01 00 00 48 8b 45 c0 c7 80 20 01 00 00 00 00 00 00 48 83 c4 48 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a7 b8 c3 fe <0f> 0b e8 a0 b8 c3 fe 0f 0b e8 99 b8 c3 fe 0f 0b e9 16 ff ff ff e8 RSP: 0018:ffff8880a90977a0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88809af72040 RCX: ffffc90012987000 RDX: 0000000000040000 RSI: ffffffff82ad31c9 RDI: 0000000000000007 RBP: ffff8880a9097810 R08: ffff888097800500 R09: ffffed1015d06be8 R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880952dadc0 R15: fffffffffffffff4 FS: 00007f34331e2700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555569f19b8 CR3: 0000000099ca9000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600