syzbot


WARNING in kvm_arch_vcpu_ioctl_run

Status: upstream: reported C repro on 2023/04/09 03:02
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+412c9ae97b4338c5187e@syzkaller.appspotmail.com
First crash: 623d, last: 11h06m
Discussions (3)
Title Replies (including bot) Last reply
Re: [v5.15] WARNING in kvm_arch_vcpu_ioctl_run 1 (1) 2024/01/10 05:09
Re: [v5.15] WARNING in kvm_arch_vcpu_ioctl_run 1 (1) 2023/11/27 08:40
Re: [v5.15] WARNING in kvm_arch_vcpu_ioctl_run 3 (3) 2023/08/28 15:23
Bug presence (2)
Date Name Commit Repro Result
2023/05/12 linux-5.15.y (ToT) b0ece631f84a C [report] WARNING in kvm_arch_vcpu_ioctl_run
2023/05/12 upstream (ToT) cc3c44c9fda2 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_arch_vcpu_ioctl_run (5) kvm C error 343 471d 558d 23/28 fixed on 2023/10/12 12:47
upstream WARNING in kvm_arch_vcpu_ioctl_run (4) kvm C error 288 563d 647d 22/28 fixed on 2023/06/08 14:41
upstream WARNING in kvm_arch_vcpu_ioctl_run (2) kvm C 61018 2519d 2608d 4/28 fixed on 2018/03/13 09:44
upstream WARNING in kvm_arch_vcpu_ioctl_run C 20284 2644d 2709d 3/28 fixed on 2017/09/26 01:38
linux-4.14 WARNING in kvm_arch_vcpu_ioctl_run C inconclusive 71 830d 2006d 0/1 upstream: reported C repro on 2019/06/25 23:07
upstream WARNING in kvm_arch_vcpu_ioctl_run (3) kvm C done error 16157 667d 2461d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in kvm_arch_vcpu_ioctl_run C error 116 739d 2015d 0/1 upstream: reported C repro on 2019/06/17 10:07
linux-6.1 WARNING in kvm_arch_vcpu_ioctl_run origin:lts-only C done 283 6d00h 640d 0/3 upstream: reported C repro on 2023/03/23 13:22
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/01/10 23:47 1h01m fix candidate upstream OK (0) job 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.
kvm: vcpu 5: requested lapic timer restore with starting count register 0x390=3829701243 (15318804972 ns) > initial count (13998584072 ns). Using initial count to start timer.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4166 at arch/x86/kvm/x86.c:10346 kvm_arch_vcpu_ioctl_run+0x1d63/0x1f80
Modules linked in:
CPU: 0 PID: 4166 Comm: syz-executor229 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:kvm_arch_vcpu_ioctl_run+0x1d63/0x1f80 arch/x86/kvm/x86.c:10346
Code: df e8 e1 a6 ba 00 e9 e5 fa ff ff 89 d9 80 e1 07 38 c1 0f 8c 26 fb ff ff 48 89 df e8 c7 a6 ba 00 e9 19 fb ff ff e8 5d cf 70 00 <0f> 0b e9 e0 fb ff ff 89 d9 80 e1 07 38 c1 0f 8c 63 fb ff ff 48 89
RSP: 0018:ffffc90002f07c60 EFLAGS: 00010293
RAX: ffffffff810fa453 RBX: 0000000000000000 RCX: ffff8880268e9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff8116c242 R09: fffffbfff1bd2cd6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880268e9dc0
R13: ffff888020ca4000 R14: ffff888020ca40f0 R15: ffff88807dde3000
FS:  00005555766bf380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563010136000 CR3: 000000007dcd8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 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:0x7fab9698d369
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:00007ffdf1bc6228 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffdf1bc63f8 RCX: 00007fab9698d369
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007fab96a00610 R08: 00007ffdf1bc63f8 R09: 00007ffdf1bc63f8
R10: 00007ffdf1bc63f8 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdf1bc63e8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (593):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/09 12:48 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 kvm_arch_vcpu_ioctl_run
2024/07/31 15:25 linux-5.15.y 7e89efd3ae1c 6fde257d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/20 08:50 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/01/11 05:40 linux-5.15.y 26c690eff0a5 04815ef1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/05/05 08:28 linux-5.15.y 8a7f2a5c5aa1 518a39a6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/07/12 12:11 linux-5.15.y d54cfc420586 2f19aa4f .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/06/25 11:58 linux-5.15.y f67653019430 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/05/29 11:21 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/05/15 00:06 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/22 09:38 linux-5.15.y 91786f140358 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/20 13:28 linux-5.15.y 91786f140358 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/19 10:02 linux-5.15.y 963e654022cc 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/15 11:58 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/09 15:58 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/08 15:51 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/06 14:38 linux-5.15.y 0a51d2d4527b 946d28f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/06 00:30 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/06 00:30 linux-5.15.y 0a51d2d4527b 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/02 21:48 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/02 04:39 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/01 15:38 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/01 03:45 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/01 02:21 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/29 12:24 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/28 02:37 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/27 02:56 linux-5.15.y 0a51d2d4527b e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/25 07:57 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/25 05:34 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/24 23:39 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/24 11:01 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/24 03:39 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/23 23:01 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/23 05:08 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/22 00:21 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/20 20:35 linux-5.15.y 0a51d2d4527b 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/16 04:43 linux-5.15.y d98fd109f827 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/15 10:39 linux-5.15.y d98fd109f827 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/15 03:13 linux-5.15.y d98fd109f827 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/14 22:59 linux-5.15.y d98fd109f827 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/13 05:30 linux-5.15.y 3c17fc483905 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/12 09:44 linux-5.15.y 3c17fc483905 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/09 23:04 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/09 05:48 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/06 01:02 linux-5.15.y 72244eab0dad da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/28 06:49 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/28 01:04 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/27 05:37 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/26 23:41 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/21 09:35 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/21 03:26 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/21 01:59 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/20 06:25 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/04/09 03:02 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in kvm_arch_vcpu_ioctl_run
* Struck through repros no longer work on HEAD.