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: 639d, last: 4d18h
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

[report pending]
  
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 470d 557d 23/28 fixed on 2023/10/12 12:47
upstream WARNING in kvm_arch_vcpu_ioctl_run (4) kvm C error 288 562d 645d 22/28 fixed on 2023/06/08 14:41
upstream WARNING in kvm_arch_vcpu_ioctl_run (2) kvm C 61018 2518d 2606d 4/28 fixed on 2018/03/13 09:44
upstream WARNING in kvm_arch_vcpu_ioctl_run C 20284 2643d 2708d 3/28 fixed on 2017/09/26 01:38
linux-4.14 WARNING in kvm_arch_vcpu_ioctl_run C inconclusive 71 829d 2005d 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 666d 2460d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in kvm_arch_vcpu_ioctl_run C error 116 738d 2014d 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 592 1d01h 622d 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 OK (1) job log
2023/04/29 07:09 43m bisect fix linux-6.1.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: 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 (283):
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/12/16 20:31 linux-6.1.y 52f863f820fd eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/02 22:41 linux-6.1.y e4d90d63d385 b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/29 09:12 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/25 04:37 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/24 17:40 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/23 09:05 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/21 21:07 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/15 02:30 linux-6.1.y 59d7b1a7104a a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/14 00:58 linux-6.1.y d7039b844a1c bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/11/12 11:00 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/28 11:18 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/28 04:52 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/10/08 16:51 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/09/11 17:30 linux-6.1.y 5ca5b389fddf 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/09/11 02:55 linux-6.1.y 5ca5b389fddf 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/09/07 22:07 linux-6.1.y 699506173494 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/09/05 07:58 linux-6.1.y 699506173494 dfbe2ed4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/26 04:08 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/25 21:49 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/25 21:25 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/25 10:43 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/25 07:24 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/24 19:18 linux-6.1.y ee5e09825b81 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/22 21:12 linux-6.1.y ee5e09825b81 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/15 18:21 linux-6.1.y 117ac406ba90 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/08 11:08 linux-6.1.y 48d525b0e463 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/07 03:51 linux-6.1.y 48d525b0e463 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/08/02 01:22 linux-6.1.y c1cec4dad96b 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/27 18:39 linux-6.1.y c1cec4dad96b 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/25 05:30 linux-6.1.y 9b3f9a5b12dc d1a1b0ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/23 23:33 linux-6.1.y 9b3f9a5b12dc e50e8da5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/20 21:26 linux-6.1.y 9b3f9a5b12dc b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/19 08:57 linux-6.1.y 9b3f9a5b12dc ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/12 12:18 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/12 08:24 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/12 06:54 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/08 10:20 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/07 18:36 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/05 20:11 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/04 15:23 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/07/02 01:47 linux-6.1.y 99e6a620de00 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/06/29 19:34 linux-6.1.y 99e6a620de00 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/06/29 02:05 linux-6.1.y 99e6a620de00 757f06b1 .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.