R13: 00000000004c8912 R14: 00000000004df720 R15: 0000000000000003 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1275! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4732 Comm: syz-executor.5 Not tainted 5.3.0-rc2-next-20190802 #58 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1275 [inline] RIP: 0010:close_fs_devices.part.0+0x5fe/0x7d0 fs/btrfs/volumes.c:1300 Code: 3c 03 0f 8e 57 01 00 00 48 8b 45 b8 c7 80 20 01 00 00 00 00 00 00 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a2 e3 be fe <0f> 0b e8 9b e3 be fe 0f 0b 48 8b 7d c0 e8 a0 da f9 fe e9 3d fd ff RSP: 0018:ffff88805e707798 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88808c57a840 RCX: ffffc900109da000 RDX: 0000000000040000 RSI: ffffffff82b3401e RDI: 0000000000000007 RBP: ffff88805e707810 R08: ffff888094592440 R09: fffffbfff122b709 R10: fffffbfff122b708 R11: ffffffff8915b843 R12: 0000000000000000 R13: ffff8880a4cd9b00 R14: dffffc0000000000 R15: fffffffffffffff4 FS: 00007fd88e429700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000758080 CR3: 00000000a1921000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: close_fs_devices fs/btrfs/volumes.c:1332 [inline] btrfs_close_devices+0xa0/0x200 fs/btrfs/volumes.c:1318 btrfs_mount_root+0xf42/0x1290 fs/btrfs/super.c:1572 legacy_get_tree+0x113/0x220 fs/fs_context.c:651 vfs_get_tree+0x8f/0x380 fs/super.c:1480 fc_mount+0x17/0xc0 fs/namespace.c:962 vfs_kern_mount.part.0+0xd8/0xf0 fs/namespace.c:992 vfs_kern_mount+0x40/0x60 fs/namespace.c:979 btrfs_mount+0x2b4/0x15e2 fs/btrfs/super.c:1619 legacy_get_tree+0x113/0x220 fs/fs_context.c:651 vfs_get_tree+0x8f/0x380 fs/super.c:1480 do_new_mount fs/namespace.c:2791 [inline] do_mount+0x13b3/0x1c30 fs/namespace.c:3111 ksys_mount+0xdb/0x150 fs/namespace.c:3320 __do_sys_mount fs/namespace.c:3334 [inline] __se_sys_mount fs/namespace.c:3331 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3331 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c27a 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:00007fd88e428a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd88e428b40 RCX: 000000000045c27a RDX: 00007fd88e428ae0 RSI: 0000000020000000 RDI: 00007fd88e428b00 RBP: 0000000000000001 R08: 00007fd88e428b40 R09: 00007fd88e428ae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c8912 R14: 00000000004df720 R15: 0000000000000003 Modules linked in: ---[ end trace 7b3ad6276f02b203 ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1275 [inline] RIP: 0010:close_fs_devices.part.0+0x5fe/0x7d0 fs/btrfs/volumes.c:1300 Code: 3c 03 0f 8e 57 01 00 00 48 8b 45 b8 c7 80 20 01 00 00 00 00 00 00 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a2 e3 be fe <0f> 0b e8 9b e3 be fe 0f 0b 48 8b 7d c0 e8 a0 da f9 fe e9 3d fd ff RSP: 0018:ffff88805e707798 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88808c57a840 RCX: ffffc900109da000 RDX: 0000000000040000 RSI: ffffffff82b3401e RDI: 0000000000000007 RBP: ffff88805e707810 R08: ffff888094592440 R09: fffffbfff122b709 R10: fffffbfff122b708 R11: ffffffff8915b843 R12: 0000000000000000 R13: ffff8880a4cd9b00 R14: dffffc0000000000 R15: fffffffffffffff4 FS: 00007fd88e429700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30224000 CR3: 00000000a1921000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400