RBP: 00007f4897413020 R08: 00007f4897413020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f4897412fe0 R15: 0000000020000f00 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1061! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8835 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #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:1061 [inline] RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085 Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c RSP: 0018:ffff88804edc7838 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880a1e02800 RCX: ffffc90006cec000 RDX: 0000000000013eae RSI: ffffffff82f0d800 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001 R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff8880a9e5a4c0 FS: 00007f4897413700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc21565c3a5 CR3: 0000000099412000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: close_fs_devices fs/btrfs/volumes.c:1117 [inline] btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1103 btrfs_mount_root+0x10b9/0x1830 fs/btrfs/super.c:1630 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount+0x3c/0x60 fs/namespace.c:951 btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4898a9f61a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4897412f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f4898a9f61a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f4897412fe0 RBP: 00007f4897413020 R08: 00007f4897413020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f4897412fe0 R15: 0000000020000f00 Modules linked in: ---[ end trace f65c42a8d34efa3f ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1061 [inline] RIP: 0010:close_fs_devices.part.0+0x6b0/0x8e0 fs/btrfs/volumes.c:1085 Code: 03 0f 8e 27 01 00 00 48 8b 44 24 20 c7 80 10 01 00 00 00 00 00 00 48 83 c4 48 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 70 ad 71 fe <0f> 0b e8 69 ad 71 fe 0f 0b e8 22 8d a7 fe e9 17 fd ff ff 48 8b 7c RSP: 0018:ffff88804edc7838 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff8880a1e02800 RCX: ffffc90006cec000 RDX: 0000000000013eae RSI: ffffffff82f0d800 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000001 R13: fffffffffffffff4 R14: dffffc0000000000 R15: ffff8880a9e5a4c0 FS: 00007f4897413700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc21565c3a5 CR3: 0000000099412000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400