RSP = 0x0000000000000000 RIP = 0x0000000000008000
DS: sel=0x0000, attr=0x10000, limit=0xfdfdffff, base=0x0000000000000000
RFLAGS=0x00000002 DR7 = 0x0000000000000400
------------[ cut here ]------------
Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000
kernel BUG at arch/x86/kvm/x86.c:357!
SS: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
ES: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
FS: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
CPU: 0 PID: 27296 Comm: syz-executor4 Not tainted 4.20.0+ #4
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
CS: sel=0x3000, attr=0x08093, limit=0xffffffff, base=0x0000000000030000
Code: e8 3c a6 75 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 17 a6 75 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:ffff88808651f520 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88805a983810 RCX: ffffc9000de41000
RDX: 0000000000000762 RSI: ffffffff810bdb99 RDI: 0000000000000007
RBP: ffff88808651f520 R08: ffff88808f0f0640 R09: ffff88809e981000
R10: ffffed1013d303ff R11: ffff88809e981fff R12: 1ffff11010ca3ea9
R13: ffff88808651f568 R14: ffff88808651f5c8 R15: ffff88809e981000
FS: 00007fb0e3723700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb0e36dddb8 CR3: 000000005aaee000 CR4: 00000000001426f0
GS: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
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
DS: sel=0x0000, attr=0x08093, limit=0xffffffff, base=0x0000000000000000
alloc_loaded_vmcs+0x81/0x170 arch/x86/kvm/vmx/vmx.c:2442
vmx_create_vcpu+0x262/0x26d7 arch/x86/kvm/vmx/vmx.c:6724
GDTR: limit=0x00000000, base=0x0000000000000000
LDTR: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
kvm_arch_vcpu_create+0xea/0x220 arch/x86/kvm/x86.c:8712
SS: sel=0x0000, attr=0x08093, limit=0xffffffff, base=0x0000000000000000
IDTR: limit=0x00000000, base=0x0000000000000000
kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2560 [inline]
kvm_vm_ioctl+0x5d9/0x1fe0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3089
ES: sel=0x0000, attr=0x08093, limit=0xffffffff, base=0x0000000000000000
TR: sel=0x0000, attr=0x10000, limit=0x00000000, base=0x0000000000000000
EFER = 0x0000000000006500 PAT = 0x0007040600070406
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:0x457ec9
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb0e3722c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9
RDX: 0000000000000001 RSI: 000000000000ae41 RDI: 0000000000000009
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb0e37236d4
R13: 00000000004c09f9 R14: 00000000004d22d8 R15: 00000000ffffffff
Modules linked in:
------------[ cut here ]------------
kernel BUG at arch/x86/kvm/x86.c:357!
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
CPU: 0 PID: 27296 Comm: syz-executor4 Tainted: G D 4.20.0+ #4
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 3c a6 75 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 17 a6 75 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:ffff8880ae607c78 EFLAGS: 00010006
RAX: ffff88808f0f0640 RBX: ffff88808b9eb810 RCX: ffffffff8139c3ba
RDX: 0000000000010000 RSI: ffffffff810bdb99 RDI: 0000000000000007
RBP: ffff8880ae607c78 R08: ffff88808f0f0640 R09: ffffed1015cc5ba9
R10: ffffed1015cc5ba8 R11: ffff8880ae62dd47 R12: 1ffff11015cc0f94
R13: ffff8880ae607cc0 R14: ffff8880ae607d20 R15: ffff88808dec9000
FS: 00007fb0e3723700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae607cc0 CR3: 000000005aaee000 CR4: 00000000001426f0
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 b8 2e 67 f9 e8 13 18 97 f9 4c 89 f0 48 c1 e8 03 80 3c 18 00 75 6c 48 83 3d 6e b4 a1 01 00 74 5e fb 66 0f 1f 44 00 00 01 00 00 00 e8 2b d2 ff ff 48 c7 c0 38 4f 92 89 48 c1 e8 03 80
RSP: 0018:ffff88808651f268 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff04
RAX: 1ffffffff13249e8 RBX: dffffc0000000000 RCX: 1ffffffff14b6846
RDX: 0000000000000000 RSI: ffffffff8187b384 RDI: ffffffff87f09abd
RBP: ffff88808651f288 R08: ffff88808f0f0640 R09: ffffed1015cc59d2
R10: ffffed1015cc59d1 R11: ffff8880ae62ce8b R12: ffffed1011e1e0c8
R13: ffff88808f0f0640 R14: ffffffff89924f40 R15: 0000000000000000
retint_kernel+0x1b/0x2d
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:766 [inline]
RIP: 0010:oops_end+0x61/0xf0 arch/x86/kernel/dumpstack.c:343
Code: 00 00 00 c7 05 bc 94 62 08 ff ff ff ff e8 b7 35 1e 00 83 2d 98 9d 6b 09 01 74 36 48 83 3d 16 a6 65 08 00 74 53 48 89 df 57 9d <0f> 1f 44 00 00 e8 65 3d 1e 00 be 02 00 00 00 48 c7 c7 c0 46 98 8a
RSP: 0018:ffff88808651f348 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02
RAX: 0000000000040000 RBX: 0000000000000286 RCX: ffffc9000de41000
RDX: 0000000000040000 RSI: ffffffff814adee9 RDI: 0000000000000286
RBP: ffff88808651f360 R08: ffff88808f0f0640 R09: fffffbfff14b6847
R10: fffffbfff14b6846 R11: ffffffff8a5b4237 R12: ffff88808651f478
R13: 000000000000000b R14: ffffffff8844ec20 R15: 0000000000000000
die+0x3e/0x48 arch/x86/kernel/dumpstack.c:405
do_trap_no_signal arch/x86/kernel/traps.c:211 [inline]
do_trap+0x101/0x230 arch/x86/kernel/traps.c:250
do_error_trap+0xd6/0x200 arch/x86/kernel/traps.c:277
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 3c a6 75 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 17 a6 75 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:ffff88808651f520 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88805a983810 RCX: ffffc9000de41000
RDX: 0000000000000762 RSI: ffffffff810bdb99 RDI: 0000000000000007
RBP: ffff88808651f520 R08: ffff88808f0f0640 R09: ffff88809e981000
R10: ffffed1013d303ff R11: ffff88809e981fff R12: 1ffff11010ca3ea9
R13: ffff88808651f568 R14: ffff88808651f5c8 R15: ffff88809e981000
vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline]
loaded_vmcs_init+0xcb/0x320 arch/x86/kvm/vmx/vmx.c:565
alloc_loaded_vmcs+0x81/0x170 arch/x86/kvm/vmx/vmx.c:2442
vmx_create_vcpu+0x262/0x26d7 arch/x86/kvm/vmx/vmx.c:6724
kvm_arch_vcpu_create+0xea/0x220 arch/x86/kvm/x86.c:8712
kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2560 [inline]
kvm_vm_ioctl+0x5d9/0x1fe0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3089
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:0x457ec9
Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb0e3722c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9
RDX: 0000000000000001 RSI: 000000000000ae41 RDI: 0000000000000009
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb0e37236d4
R13: 00000000004c09f9 R14: 00000000004d22d8 R15: 00000000ffffffff
Modules linked in:
---[ end trace 43faec3ac3366843 ]---
RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357
Code: e8 3c a6 75 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 17 a6 75 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:ffff88808651f520 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88805a983810 RCX: ffffc9000de41000
RDX: 0000000000000762 RSI: ffffffff810bdb99 RDI: 0000000000000007
RBP: ffff88808651f520 R08: ffff88808f0f0640 R09: ffff88809e981000
R10: ffffed1013d303ff R11: ffff88809e981fff R12: 1ffff11010ca3ea9
R13: ffff88808651f568 R14: ffff88808651f5c8 R15: ffff88809e981000
FS: 00007fb0e3723700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8880ae607cc0 CR3: 000000005aaee000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400