syzbot


WARNING in kvm_arch_vcpu_ioctl_run

Status: upstream: reported C repro on 2023/03/23 13:22
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b000b7d21f93fc69de32@syzkaller.appspotmail.com
First crash: 426d, last: 1d09h
Fix commit to backport (bisect log) :
tree: upstream
commit 8e6ed96cdd5001c55fccc80a17f651741c1ca7d2
Author: Li RongQing <lirongqing@baidu.com>
Date: Fri Jan 6 04:06:25 2023 +0000

  KVM: x86: fire timer when it is migrated and expired, and in oneshot mode

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in kvm_arch_vcpu_ioctl_run (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
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/18 linux-6.1.y (ToT) fa74641fb6b9 C [report] WARNING in kvm_arch_vcpu_ioctl_run
2023/05/18 upstream (ToT) 4d6d4c7f541d 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 257d 345d 23/26 fixed on 2023/10/12 12:47
upstream WARNING in kvm_arch_vcpu_ioctl_run (4) kvm C error 288 349d 433d 22/26 fixed on 2023/06/08 14:41
upstream WARNING in kvm_arch_vcpu_ioctl_run (2) kvm C 61018 2305d 2394d 4/26 fixed on 2018/03/13 09:44
upstream WARNING in kvm_arch_vcpu_ioctl_run C 20284 2431d 2496d 3/26 fixed on 2017/09/26 01:38
linux-4.14 WARNING in kvm_arch_vcpu_ioctl_run C inconclusive 71 616d 1793d 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 454d 2247d 22/26 fixed on 2023/02/24 13:50
linux-4.19 WARNING in kvm_arch_vcpu_ioctl_run C error 116 526d 1801d 0/1 upstream: reported C repro on 2019/06/17 10:07
linux-5.15 WARNING in kvm_arch_vcpu_ioctl_run origin:lts-only C inconclusive 381 1d07h 410d 0/3 upstream: reported C repro on 2023/04/09 03:02
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/01/23 15:07 3h52m (2) fix candidate upstream job log (1)
2023/04/29 07:09 43m bisect fix linux-6.1.y job log (0) 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: 0 PID: 3541 at arch/x86/kvm/x86.c:11208 kvm_arch_vcpu_ioctl_run+0x22b1/0x2470
Modules linked in:
CPU: 0 PID: 3541 Comm: syz-executor248 Not tainted 6.1.89-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:kvm_arch_vcpu_ioctl_run+0x22b1/0x2470 arch/x86/kvm/x86.c:11208
Code: e8 d4 64 d1 00 e9 62 eb ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 6a eb ff ff 4c 89 ff e8 b9 64 d1 00 e9 5d eb ff ff e8 4f ed 79 00 <0f> 0b e9 07 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 05 f9 ff
RSP: 0018:ffffc9000398fc68 EFLAGS: 00010293
RAX: ffffffff8110a211 RBX: 0000000000000000 RCX: ffff88802737bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88807b0a02ec R08: ffffffff8117fba1 R09: fffffbfff209365e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802737bb80
R13: ffff88807b0a0000 R14: ffff88801ed3e000 R15: dffffc0000000000
FS:  0000555555e5b380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 00000000782c2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_vcpu_ioctl+0x7f0/0xcf0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4121
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa1eeb78469
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:00007ffeb0038338 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffeb0038508 RCX: 00007fa1eeb78469
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006
RBP: 00007fa1eebec610 R08: 00007ffeb0038508 R09: 00007ffeb0038508
R10: 00007ffeb0038508 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeb00384f8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (166):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/02 13:33 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/01/21 20:27 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/03/23 16:10 linux-6.1.y e3a87a10f259 f94b4a29 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/08/18 01:00 linux-6.1.y 6c44e13dc284 74b106b6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/07/30 14:08 linux-6.1.y d2a6dc4eaf6d 92476829 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/06/04 12:06 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/21 18:43 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/13 17:50 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/13 13:26 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/11 16:37 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/11 00:13 linux-6.1.y 909ba1f1b414 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/08 08:26 linux-6.1.y 909ba1f1b414 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/05 08:01 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/04 23:27 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/05/02 13:13 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/28 18:04 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/26 18:56 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/25 23:16 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/13 01:02 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/10 07:10 linux-6.1.y 347385861c50 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/09 08:02 linux-6.1.y 347385861c50 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/09 04:56 linux-6.1.y 347385861c50 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 22:56 linux-6.1.y 347385861c50 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 20:44 linux-6.1.y 347385861c50 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 19:09 linux-6.1.y 347385861c50 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 10:45 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 09:42 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 09:42 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/08 07:08 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/07 22:28 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/07 20:36 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/07 18:18 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/06 06:56 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/05 19:44 linux-6.1.y 347385861c50 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/05 15:57 linux-6.1.y 347385861c50 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/05 06:55 linux-6.1.y 347385861c50 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/04 06:17 linux-6.1.y 347385861c50 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/03 09:11 linux-6.1.y e5cd595e23c1 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/03 01:20 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/02 18:06 linux-6.1.y e5cd595e23c1 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/04/02 12:03 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/31 18:26 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/31 12:44 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/31 08:13 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/30 17:46 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/29 19:13 linux-6.1.y e5cd595e23c1 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/29 07:19 linux-6.1.y e5cd595e23c1 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/28 19:00 linux-6.1.y e5cd595e23c1 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/27 21:04 linux-6.1.y e5cd595e23c1 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/25 18:46 linux-6.1.y d7543167affd 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/03/20 11:23 linux-6.1.y d7543167affd a485f239 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2023/03/23 13:22 linux-6.1.y e3a87a10f259 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
* Struck through repros no longer work on HEAD.