syzbot


WARNING in vmx_handle_exit

Status: auto-closed as invalid on 2021/07/19 10:58
Reported-by: syzbot+28c698fdfef19e267236@syzkaller.appspotmail.com
First crash: 1327d, last: 1327d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vmx_handle_exit kvm C error 5 46d 219d 28/28 fixed on 2024/10/22 11:57

Sample crash report:
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_fail_alloc_page mm/page_alloc.c:2898 [inline]
 prepare_alloc_pages mm/page_alloc.c:4131 [inline]
 __alloc_pages_nodemask+0x22c/0x2720 mm/page_alloc.c:4179
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9251 at arch/x86/kvm/vmx.c:6952 handle_ept_misconfig+0x11f/0x430 arch/x86/kvm/vmx.c:6952
Kernel panic - not syncing: panic_on_warn set ...

 alloc_pages_current+0x155/0x260 mm/mempolicy.c:2113
 alloc_pages include/linux/gfp.h:520 [inline]
 __get_free_pages+0xb/0x40 mm/page_alloc.c:4233
 mmu_topup_memory_cache_page arch/x86/kvm/mmu.c:1005 [inline]
 mmu_topup_memory_caches+0x187/0x300 arch/x86/kvm/mmu.c:1027
 kvm_mmu_load+0x1e/0xd00 arch/x86/kvm/mmu.c:4811
 kvm_mmu_reload arch/x86/kvm/mmu.h:86 [inline]
 vcpu_enter_guest arch/x86/kvm/x86.c:7167 [inline]
 vcpu_run arch/x86/kvm/x86.c:7364 [inline]
 kvm_arch_vcpu_ioctl_run+0x3639/0x5ae0 arch/x86/kvm/x86.c:7531
 kvm_vcpu_ioctl+0x3de/0xc50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2661
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007f7c53cfb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007f7c53cfb1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffe343bbdcf R14: 00007f7c53cfb300 R15: 0000000000022000
CPU: 1 PID: 9251 Comm: syz-executor.3 Not tainted 4.14.226-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:handle_ept_misconfig+0x11f/0x430 arch/x86/kvm/vmx.c:6952
RSP: 0018:ffff88804e5cfa68 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffffffff8114ddb0 RCX: ffffc900076ed000
RDX: 000000000003cd1b RSI: ffffffff8114decf RDI: ffff8880430a0e40
RBP: ffff8880430a0e40 R08: 0000000000000007 R09: ffff88804e5cf9a8
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff2
R13: 0000000000000031 R14: 0000000000000000 R15: ffff8880430a0e40
 vmx_handle_exit+0x1f8/0x14b0 arch/x86/kvm/vmx.c:9184
 vcpu_enter_guest arch/x86/kvm/x86.c:7301 [inline]
 vcpu_run arch/x86/kvm/x86.c:7364 [inline]
 kvm_arch_vcpu_ioctl_run+0x1da6/0x5ae0 arch/x86/kvm/x86.c:7531
 kvm_vcpu_ioctl+0x3de/0xc50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2661
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007fce858f7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000007
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffee778ab9f R14: 00007fce858f7300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/21 10:58 linux-4.14.y cb83ddcd5332 17810eae .config console log report info ci2-linux-4-14 WARNING in vmx_handle_exit
* Struck through repros no longer work on HEAD.