R13: 00000000004c94ef R14: 00000000004e0cd0 R15: 0000000000000003 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1271! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 756 Comm: syz-executor.0 Not tainted 5.4.0-rc4+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1271 [inline] RIP: 0010:close_fs_devices+0x8c8/0x8d0 fs/btrfs/volumes.c:1291 Code: e9 73 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 7c 87 48 89 df e8 29 81 f9 fe e9 7a ff ff ff e8 4f 41 c0 fe 0f 0b e8 48 41 c0 fe <0f> 0b 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 RSP: 0018:ffff8880628379a0 EFLAGS: 00010246 RAX: ffffffff82b30228 RBX: ffff8880959be5d0 RCX: 0000000000040000 RDX: ffffc90005f45000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff888062837a30 R08: ffffffff82b47ce5 R09: ffffed1015d46b05 R10: ffffed1015d46b05 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888099c26000 R14: 000000000000000a R15: ffff88808b920c00 FS: 00007faba37fc700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33623000 CR3: 0000000099020000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_close_devices+0x33/0x130 fs/btrfs/volumes.c:1309 btrfs_mount_root+0xa9d/0x1040 fs/btrfs/super.c:1574 legacy_get_tree+0xf9/0x1a0 fs/fs_context.c:647 vfs_get_tree+0x8b/0x2a0 fs/super.c:1545 fc_mount fs/namespace.c:962 [inline] vfs_kern_mount+0xc2/0x160 fs/namespace.c:992 btrfs_mount+0x34f/0x18e0 fs/btrfs/super.c:1621 legacy_get_tree+0xf9/0x1a0 fs/fs_context.c:647 vfs_get_tree+0x8b/0x2a0 fs/super.c:1545 do_new_mount fs/namespace.c:2823 [inline] do_mount+0x16c0/0x2510 fs/namespace.c:3143 ksys_mount+0xcc/0x100 fs/namespace.c:3352 __do_sys_mount fs/namespace.c:3366 [inline] __se_sys_mount fs/namespace.c:3363 [inline] __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3363 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c98a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 4d 8c 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 2a 8c fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007faba37fba88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007faba37fbb40 RCX: 000000000045c98a RDX: 00007faba37fbae0 RSI: 0000000020000100 RDI: 00007faba37fbb00 RBP: 0000000000000001 R08: 00007faba37fbb40 R09: 00007faba37fbae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c94ef R14: 00000000004e0cd0 R15: 0000000000000003 Modules linked in: ---[ end trace 94a21628e8e04966 ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1271 [inline] RIP: 0010:close_fs_devices+0x8c8/0x8d0 fs/btrfs/volumes.c:1291 Code: e9 73 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 7c 87 48 89 df e8 29 81 f9 fe e9 7a ff ff ff e8 4f 41 c0 fe 0f 0b e8 48 41 c0 fe <0f> 0b 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 RSP: 0018:ffff8880628379a0 EFLAGS: 00010246 RAX: ffffffff82b30228 RBX: ffff8880959be5d0 RCX: 0000000000040000 RDX: ffffc90005f45000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff888062837a30 R08: ffffffff82b47ce5 R09: ffffed1015d46b05 R10: ffffed1015d46b05 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888099c26000 R14: 000000000000000a R15: ffff88808b920c00 FS: 00007faba37fc700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000099020000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400