RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fa95d144000 RBP: 00007fa95d144040 R08: 00007fa95d144040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fa95d144000 R15: 00000000200005c0 ------------[ cut here ]------------ kernel BUG at fs/btrfs/volumes.c:1058! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10268 Comm: syz-executor.2 Not tainted 4.19.206-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:1058 [inline] RIP: 0010:close_fs_devices.part.0+0x674/0x860 fs/btrfs/volumes.c:1082 Code: 03 0f 8e 10 01 00 00 48 8b 44 24 10 c7 80 10 01 00 00 00 00 00 00 48 83 c4 40 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 cc b7 71 fe <0f> 0b e8 c5 b7 71 fe 0f 0b e8 ae 8a a7 fe e9 f8 fb ff ff 4c 89 f7 RSP: 0018:ffff88822efd7840 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff888050584040 RCX: ffffc9000a4db000 RDX: 000000000002b0b9 RSI: ffffffff82f0daf4 RDI: 0000000000000007 RBP: ffff88808e416280 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880505840e0 R14: ffff888050584060 R15: fffffffffffffff4 FS: 00007fa95d144700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4cbe1d57 CR3: 0000000235848000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: close_fs_devices fs/btrfs/volumes.c:1114 [inline] btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1100 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:0x467b1a Code: 48 c7 c2 bc 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa95d143fa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000200009c0 RCX: 0000000000467b1a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fa95d144000 RBP: 00007fa95d144040 R08: 00007fa95d144040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fa95d144000 R15: 00000000200005c0 Modules linked in: ---[ end trace 2c0007ed8641a1ca ]--- RIP: 0010:btrfs_close_one_device fs/btrfs/volumes.c:1058 [inline] RIP: 0010:close_fs_devices.part.0+0x674/0x860 fs/btrfs/volumes.c:1082 Code: 03 0f 8e 10 01 00 00 48 8b 44 24 10 c7 80 10 01 00 00 00 00 00 00 48 83 c4 40 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 cc b7 71 fe <0f> 0b e8 c5 b7 71 fe 0f 0b e8 ae 8a a7 fe e9 f8 fb ff ff 4c 89 f7 RSP: 0018:ffff88822efd7840 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff888050584040 RCX: ffffc9000a4db000 RDX: 000000000002b0b9 RSI: ffffffff82f0daf4 RDI: 0000000000000007 RBP: ffff88808e416280 R08: 0000000000000000 R09: fffffffffffff000 R10: 0000000000000007 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880505840e0 R14: ffff888050584060 R15: fffffffffffffff4 FS: 00007fa95d144700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4cbe1d57 CR3: 0000000235848000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400