syzbot


WARNING in vmx_queue_exception

Status: upstream: reported C repro on 2023/03/11 15:11
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+4d82a15086e9913d0e1a@syzkaller.appspotmail.com
First crash: 643d, last: 4d06h
Fix commit to backport (bisect log) :
tree: upstream
commit fc4fad79fc3d8841562e2a85808079da5b4835f6
Author: Sean Christopherson <seanjc@google.com>
Date: Tue Dec 28 23:24:36 2021 +0000

  KVM: VMX: Reject KVM_RUN if emulation is required with pending exception

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in vmx_queue_exception (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/19 linux-5.15.y (ToT) 9d6bde853685 C [report] WARNING in vmx_queue_exception
2023/05/19 upstream (ToT) 2d1bcbc6cd70 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vmx_queue_exception kvm 8 1021d 1084d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in vmx_queue_exception (2) kvm C 5 957d 956d 22/28 fixed on 2023/02/24 13:50
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/12/09 10:27 9m retest repro linux-5.15.y report log
2024/10/23 01:08 10m retest repro linux-5.15.y report log
2024/10/23 01:08 11m retest repro linux-5.15.y report log
2024/10/23 01:08 10m retest repro linux-5.15.y report log
2024/10/23 01:08 14m retest repro linux-5.15.y report log
2024/10/08 18:45 11m retest repro linux-5.15.y report log
2024/10/08 18:45 11m retest repro linux-5.15.y report log
2024/10/08 18:45 12m retest repro linux-5.15.y report log
2024/10/08 18:45 22m retest repro linux-5.15.y report log
2024/10/08 18:45 38m retest repro linux-5.15.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/08/18 22:11 8h33m fix candidate upstream OK (1) job log
2023/06/18 06:19 37m bisect fix linux-5.15.y OK (0) job log log
2023/05/01 03:23 41m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4161 at arch/x86/kvm/vmx/vmx.c:1709 vmx_queue_exception+0x2d2/0x480
Modules linked in:
CPU: 1 PID: 4161 Comm: syz-executor515 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:vmx_queue_exception+0x2d2/0x480 arch/x86/kvm/vmx/vmx.c:1709
Code: 9e 01 00 00 e8 3f 8e 5d 00 eb 0c e8 38 8e 5d 00 eb 05 e8 31 8e 5d 00 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f c3 e8 1e 8e 5d 00 <0f> 0b e9 a2 fe ff ff 89 f9 80 e1 07 38 c1 0f 8c 55 fd ff ff e8 65
RSP: 0018:ffffc90002de7558 EFLAGS: 00010293
RAX: ffffffff8122e592 RBX: 0000000000000001 RCX: ffff888027d85940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002de7c50 R08: ffffffff8122e42e R09: fffffbfff1bd2cd6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888077f10000
R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000080000803
FS:  0000555585b17380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000006dc69000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inject_pending_event arch/x86/kvm/x86.c:9162 [inline]
 vcpu_enter_guest+0x8f5/0x9850 arch/x86/kvm/x86.c:9885
 vcpu_run arch/x86/kvm/x86.c:10157 [inline]
 kvm_arch_vcpu_ioctl_run+0xa5e/0x1f80 arch/x86/kvm/x86.c:10394
 kvm_vcpu_ioctl+0x7f0/0xcf0 virt/kvm/kvm_main.c:3894
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc88d8842b9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd2a44ec28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffd2a44edf8 RCX: 00007fc88d8842b9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007fc88d8f7610 R08: 00007ffd2a44edf8 R09: 00007ffd2a44edf8
R10: 00007ffd2a44edf8 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd2a44ede8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (48):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/11 09:21 linux-5.15.y 3c17fc483905 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 02:56 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 02:34 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 02:10 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 01:27 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/03/30 21:19 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/10/08 21:05 linux-5.15.y 1edcec18cfb7 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/31 22:03 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/26 20:48 linux-5.15.y 115472395b0a fbf0499a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/12 23:12 linux-5.15.y bbf9f29bac04 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/25 09:14 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/19 08:27 linux-5.15.y 0a51d2d4527b 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/18 20:12 linux-5.15.y 0a51d2d4527b e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/17 06:05 linux-5.15.y d98fd109f827 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/11 08:54 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/11/11 08:54 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/10/29 13:41 linux-5.15.y 74cdd62cb470 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/10/29 13:41 linux-5.15.y 74cdd62cb470 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/09/14 20:04 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/09/14 20:04 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/09/08 00:42 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/09/08 00:36 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/08/22 11:46 linux-5.15.y fa93fa65db6e ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/08/22 11:45 linux-5.15.y fa93fa65db6e ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/08/16 21:37 linux-5.15.y 7e89efd3ae1c e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/08/10 21:33 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/08/04 16:21 linux-5.15.y 7e89efd3ae1c 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/29 07:20 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 01:26 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 01:25 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 00:42 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/07/28 00:42 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/05/18 14:22 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/05/18 14:22 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/03/30 20:50 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2024/03/30 20:50 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/10/15 05:04 linux-5.15.y 02e21884dcf2 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/10/08 20:05 linux-5.15.y 1edcec18cfb7 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/06/23 21:37 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/06/18 23:16 linux-5.15.y 471e639e59d1 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/05/15 05:49 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/14 13:25 linux-5.15.y 2ddbd0f967b3 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/12 21:09 linux-5.15.y bbf9f29bac04 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
2023/03/11 15:11 linux-5.15.y d214f240b0f6 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in vmx_queue_exception
* Struck through repros no longer work on HEAD.