RAX: ffffffffffffffda RBX: 00007f5a9ab3db40 RCX: 000000000045c27a RDX: 00007f5a9ab3dae0 RSI: 0000000020000100 RDI: 00007f5a9ab3db00 RBP: 0000000000000001 R08: 00007f5a9ab3db40 R09: 00007f5a9ab3dae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c8920 R14: 00000000004df7d8 R15: 0000000000000003 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1275! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5159 Comm: syz-executor.2 Not tainted 5.3.0-rc4+ #74 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+0x8ff/0x910 fs/btrfs/volumes.c:1300 Code: 8b 5d c0 e9 4f ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 63 ff ff ff 48 89 df e8 ab 29 fb fe e9 56 ff ff ff e8 e1 2f c2 fe <0f> 0b e8 da 2f c2 fe 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffff888057347990 EFLAGS: 00010246 RAX: ffffffff82b1549f RBX: ffff8880a903ae68 RCX: 0000000000040000 RDX: ffffc9000a36f000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff888057347a20 R08: ffffffff82b22918 R09: fffffbfff11204f6 R10: fffffbfff11204f6 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880a903ae70 R14: ffff8880a903ad80 R15: ffff8880902e27c0 FS: 00007f5a9ab3e700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f158 CR3: 00000000984c1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_close_devices+0x33/0x130 fs/btrfs/volumes.c:1318 btrfs_mount_root+0xa9d/0x1050 fs/btrfs/super.c:1572 legacy_get_tree+0xf9/0x1a0 fs/fs_context.c:661 vfs_get_tree+0x8f/0x380 fs/super.c:1413 fc_mount fs/namespace.c:962 [inline] vfs_kern_mount+0xc2/0x160 fs/namespace.c:992 btrfs_mount+0x34f/0x18f0 fs/btrfs/super.c:1619 legacy_get_tree+0xf9/0x1a0 fs/fs_context.c:661 vfs_get_tree+0x8f/0x380 fs/super.c:1413 do_new_mount fs/namespace.c:2791 [inline] do_mount+0x169d/0x2490 fs/namespace.c:3111 ksys_mount+0xcc/0x100 fs/namespace.c:3320 __do_sys_mount fs/namespace.c:3334 [inline] __se_sys_mount fs/namespace.c:3331 [inline] __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3331 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296 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:00007f5a9ab3da88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5a9ab3db40 RCX: 000000000045c27a RDX: 00007f5a9ab3dae0 RSI: 0000000020000100 RDI: 00007f5a9ab3db00 RBP: 0000000000000001 R08: 00007f5a9ab3db40 R09: 00007f5a9ab3dae0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004 R13: 00000000004c8920 R14: 00000000004df7d8 R15: 0000000000000003 Modules linked in: ---[ end trace 9cca09acc4a5c549 ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1275 [inline] RIP: 0010:close_fs_devices+0x8ff/0x910 fs/btrfs/volumes.c:1300 Code: 8b 5d c0 e9 4f ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 63 ff ff ff 48 89 df e8 ab 29 fb fe e9 56 ff ff ff e8 e1 2f c2 fe <0f> 0b e8 da 2f c2 fe 0f 0b 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 RSP: 0018:ffff888057347990 EFLAGS: 00010246 RAX: ffffffff82b1549f RBX: ffff8880a903ae68 RCX: 0000000000040000 RDX: ffffc9000a36f000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff888057347a20 R08: ffffffff82b22918 R09: fffffbfff11204f6 R10: fffffbfff11204f6 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880a903ae70 R14: ffff8880a903ad80 R15: ffff8880902e27c0 FS: 00007f5a9ab3e700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc6b3da080 CR3: 00000000984c1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400