------------[ cut here ]------------
kernel BUG at arch/x86/kvm/x86.c:357!
------------[ cut here ]------------
kernel BUG at arch/x86/kvm/x86.c:357!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8864 Comm: syz-executor046 Not tainted 5.0.0-rc2+ #34
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 5c 22 76 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 22 76 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffff8880ae707c78 EFLAGS: 00010006
RAX: ffff88808e484440 RBX: ffff888091e03810 RCX: ffffffff8139cb1a
RDX: 0000000000010000 RSI: ffffffff810bdcb9 RDI: 0000000000000007
RBP: ffff8880ae707c78 R08: ffff88808e484440 R09: ffffed1015ce5ba9
R10: ffffed1015ce5ba8 R11: ffff8880ae72dd47 R12: 1ffff11015ce0f94
R13: ffff8880ae707cc0 R14: ffff8880ae707d20 R15: ffff8880a93c6000
FS: 00007fdeeba69700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae707cc0 CR3: 000000009e40a000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline]
loaded_vmcs_init+0xcb/0x320 arch/x86/kvm/vmx/vmx.c:565
__loaded_vmcs_clear+0x2c1/0x520 arch/x86/kvm/vmx/vmx.c:632
flush_smp_call_function_queue+0x1bb/0x640 kernel/smp.c:243
generic_smp_call_function_single_interrupt+0x13/0x2b kernel/smp.c:192
smp_call_function_single_interrupt+0x117/0x640 arch/x86/kernel/smp.c:296
call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
RIP: 0010:preempt_schedule_irq+0xab/0x140 kernel/sched/core.c:3699
Code: 00 00 e8 68 5e 65 f9 e8 13 6d 95 f9 4c 89 f0 48 c1 e8 03 80 3c 18 00 75 6c 48 83 3d ce 97 9f 01 00 74 5e fb 66 0f 1f 44 00 00 01 00 00 00 e8 5b d2 ff ff 48 c7 c0 f8 80 92 89 48 c1 e8 03 80
RSP: 0018:ffff8880a8756f98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04
RAX: 1ffffffff1325020 RBX: dffffc0000000000 RCX: 1ffff11011c9099c
RDX: 0000000000000000 RSI: ffff88808e484ce8 RDI: ffff88808e484cbc
RBP: ffff8880a8756fb8 R08: 0000000000000006 R09: ffff88808e484ce0
R10: ffff88808e484440 R11: 0000000000000000 R12: ffffed1011c90888
R13: ffff88808e484440 R14: ffffffff89928100 R15: 0000000000000000
retint_kernel+0x1b/0x2d
RIP: 0010:arch_local_irq_enable arch/x86/include/asm/paravirt.h:777 [inline]
RIP: 0010:cond_local_irq_enable arch/x86/kernel/traps.c:80 [inline]
RIP: 0010:do_error_trap+0x17e/0x200 arch/x86/kernel/traps.c:276
Code: c0 00 81 92 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 72 48 83 3d 6b a2 66 08 00 74 3d fb 66 0f 1f 44 00 00 39 ff ff ff e8 08 b3 40 00 84 c0 0f 85 aa fe ff ff 48 c7 c2 e0
RSP: 0018:ffff8880a8757078 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02
RAX: 1ffffffff1325020 RBX: 0000000000000006 RCX: 1ffff11011c9099c
RDX: dffffc0000000000 RSI: ffff88808e484ce8 RDI: ffff88808e484cbc
RBP: ffff8880a87570b0 R08: 0000000000000006 R09: ffff88808e484ce0
R10: ffff88808e484440 R11: 0000000000000000 R12: 0000000000000004
R13: ffffffff8844ec20 R14: 0000000000000000 R15: ffff8880a87570e8
do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 5c 22 76 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 22 76 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffff8880a8757198 EFLAGS: 00010293
RAX: ffff88808e484440 RBX: 1ffff110150eae3a RCX: ffffffff811f27c9
RDX: 0000000000000000 RSI: ffffffff810bdcb9 RDI: 0000000000000005
RBP: ffff8880a8757198 R08: ffff88808e484440 R09: ffffed101524db3a
R10: ffffed101524db39 R11: ffff8880a926d9cf R12: ffff8880a87572c8
R13: ffff8880895b0000 R14: 0000000000000175 R15: ffff8880a8757230
__vmcs_writel arch/x86/kvm/vmx/ops.h:117 [inline]
vmcs_writel arch/x86/kvm/vmx/ops.h:160 [inline]
vmx_set_msr+0x1763/0x2350 arch/x86/kvm/vmx/vmx.c:1827
kvm_set_msr+0x190/0x380 arch/x86/kvm/x86.c:1334
do_set_msr+0x10e/0x180 arch/x86/kvm/x86.c:1363
__msr_io arch/x86/kvm/x86.c:2917 [inline]
msr_io+0x226/0x390 arch/x86/kvm/x86.c:2953
kvm_arch_vcpu_ioctl+0x137c/0x3ba0 arch/x86/kvm/x86.c:3970
kvm_vcpu_ioctl+0x9d5/0x12d0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2830
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:509 [inline]
do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696
ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
__do_sys_ioctl fs/ioctl.c:720 [inline]
__se_sys_ioctl fs/ioctl.c:718 [inline]
__x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x449117
Code: 48 83 c4 08 48 89 d8 5b 5d c3 66 0f 1f 84 00 00 00 00 00 48 89 e8 48 f7 d8 48 39 c3 0f 92 c0 eb 92 66 90 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 0d 01 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fdeeba670f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000449117
RDX: 00007fdeeba67100 RSI: 000000004008ae89 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000090 R09: 0000000000000005
R10: 00000000000000b3 R11: 0000000000000206 R12: 0000000000000008
R13: 00007fff91129d0f R14: 00007fdeeba699c0 R15: 0000000000000000
Modules linked in:
---[ end trace 5ddc303d377ef020 ]---
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 5c 22 76 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 22 76 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffff8880ae707c78 EFLAGS: 00010006
RAX: ffff88808e484440 RBX: ffff888091e03810 RCX: ffffffff8139cb1a
RDX: 0000000000010000 RSI: ffffffff810bdcb9 RDI: 0000000000000007
RBP: ffff8880ae707c78 R08: ffff88808e484440 R09: ffffed1015ce5ba9
R10: ffffed1015ce5ba8 R11: ffff8880ae72dd47 R12: 1ffff11015ce0f94
R13: ffff8880ae707cc0 R14: ffff8880ae707d20 R15: ffff8880a93c6000
FS: 00007fdeeba69700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae707cc0 CR3: 000000009e40a000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400