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: 670d, last: 6h51m
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 502d 589d 23/28 fixed on 2023/10/12 12:47
upstream WARNING in kvm_arch_vcpu_ioctl_run (4) kvm C error 288 594d 677d 22/28 fixed on 2023/06/08 14:41
upstream WARNING in kvm_arch_vcpu_ioctl_run (2) kvm C 61018 2550d 2638d 4/28 fixed on 2018/03/13 09:44
upstream WARNING in kvm_arch_vcpu_ioctl_run C 20284 2675d 2740d 3/28 fixed on 2017/09/26 01:38
linux-4.14 WARNING in kvm_arch_vcpu_ioctl_run C inconclusive 71 861d 2037d 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 698d 2492d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in kvm_arch_vcpu_ioctl_run C error 116 770d 2046d 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 653 13h39m 654d 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: 1 PID: 4242 at arch/x86/kvm/x86.c:11209 kvm_arch_vcpu_ioctl_run+0x22b1/0x2470
Modules linked in:
CPU: 1 PID: 4242 Comm: syz-executor156 Tainted: G        W          6.1.121-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:kvm_arch_vcpu_ioctl_run+0x22b1/0x2470 arch/x86/kvm/x86.c:11209
Code: e8 44 7b 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 29 7b d1 00 e9 5d eb ff ff e8 5f f0 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:ffffc90003c07c68 EFLAGS: 00010293
RAX: ffffffff8110ac11 RBX: 0000000000000000 RCX: ffff88803130bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff888030cd02ec R08: ffffffff81180351 R09: fffffbfff2249c66
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803130bb80
R13: ffff888030cd0000 R14: ffff888024d50000 R15: dffffc0000000000
FS:  0000555572f5e380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a751fc4d00 CR3: 000000007c8b4000 CR4: 00000000003526e0
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:4122
 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:0x7f6317d1b429
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:00007fff4d4caf38 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fff4d4cb108 RCX: 00007f6317d1b429
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007f6317d8e610 R08: 00007fff4d4cb108 R09: 00007fff4d4cb108
R10: 00007fff4d4cb108 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff4d4cb0f8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (297):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/23 03:08 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
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
2025/01/22 05:42 linux-6.1.y f4f677285b38 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2025/01/14 09:44 linux-6.1.y c63962be84ef b1f1cd88 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2025/01/08 22:05 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2025/01/05 08:26 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2025/01/01 14:21 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2025/01/01 04:00 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/31 18:26 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/31 09:07 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/28 17:50 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in kvm_arch_vcpu_ioctl_run
2024/12/23 02:42 linux-6.1.y 29f02ec58a94 b4fbdbd4 .config console log report info [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
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.