syzbot


WARNING in kvm_arch_vcpu_ioctl_run (3)
Status: upstream: reported C repro on 2018/03/28 07:13
Reported-by: syzbot+760a73552f47a8cd0fd9@syzkaller.appspotmail.com
First crash: 1524d, last: 22h08m

Cause bisection: introduced by (bisect log) :
commit 706249c222f68471b6f8e9e8e9b77665c404b226
Author: Peter Zijlstra <peterz@infradead.org>
Date: Fri Jul 24 13:06:37 2015 +0000

  locking/static_keys: Rework update logic

Crash: BUG: unable to handle kernel NULL pointer dereference in kvm_apic_set_version (log)
Repro: syz .config

Fix bisection: failed (bisect log)
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in kvm_arch_vcpu_ioctl_run (2) C 61018 1578d 1666d 4/22 fixed on 2018/03/13 09:44
upstream WARNING in kvm_arch_vcpu_ioctl_run C 20284 1703d 1768d 3/22 fixed on 2017/09/26 01:38
linux-4.14 WARNING in kvm_arch_vcpu_ioctl_run C inconclusive 68 82d 1065d 0/1 upstream: reported C repro on 2019/06/25 23:07
linux-4.19 WARNING in kvm_arch_vcpu_ioctl_run C error 40 30d 1074d 0/1 upstream: reported C repro on 2019/06/17 10:07
Patch testing requests:
Created Duration User Patch Repo Result
2020/09/15 17:51 10m brookebasile@gmail.com upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3600 at arch/x86/kvm/x86.c:10553 kvm_arch_vcpu_ioctl_run+0x4a2/0x6380 arch/x86/kvm/x86.c:10553
Modules linked in:
CPU: 0 PID: 3600 Comm: syz-executor926 Not tainted 5.18.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kvm_arch_vcpu_ioctl_run+0x4a2/0x6380 arch/x86/kvm/x86.c:10553
Code: 03 80 3c 02 00 0f 85 5c 56 00 00 49 8b 9f 50 0d 00 00 31 ff 48 89 de e8 1c 1f 66 00 48 85 db 0f 84 36 25 00 00 e8 7e 1c 66 00 <0f> 0b e8 77 1c 66 00 48 8b 85 08 ff ff ff 48 8d 78 01 48 b8 00 00
RSP: 0018:ffffc90001c9fba0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88807f8a8000 RSI: ffffffff8111b052 RDI: 0000000000000003
RBP: ffffc90001c9fd20 R08: 0000000000000000 R09: ffffffff9002d9cf
R10: ffffffff8111d5c0 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88801a036500 R15: ffff88807436c040
FS:  00007fc8652ee700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc8653b42b8 CR3: 000000007b287000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kvm_vcpu_ioctl+0x570/0xf30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3916
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fc86535f6b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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:00007fc8652ee308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8653e8418 RCX: 00007fc86535f6b9
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005
RBP: 00007fc8653e8410 R08: 00007fc8652ee700 R09: 0000000000000000
R10: 00007fc8652ee700 R11: 0000000000000246 R12: 00007fc8653e841c
R13: 00007fc8653b50b8 R14: 6d766b2f7665642f R15: 0000000000022000
 </TASK>

Crashes (16021):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/04/05 02:55 upstream 312310928417 5915c2cb .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce 2022/03/04 17:55 upstream 38f80f42147f 45a13a73 .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-smack-root 2022/02/28 13:35 upstream 7e57714cd0ad 45a13a73 .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-selinux-root 2022/02/22 19:08 upstream 038101e6b2cd 6e821dbf .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-smack-root 2022/01/08 12:30 upstream d1587f7bfe9a 2ca0d385 .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-linux-next-kasan-gce-root 2022/03/08 13:02 linux-next 91265a6da44d 7bdd8b2c .config log report syz C WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-selinux-root 2020/05/14 06:34 upstream 24085f70a6e1 a885920d .config log report syz C
ci-upstream-kasan-gce-root 2020/05/13 06:51 upstream 24085f70a6e1 a44eb8f7 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/05/13 04:07 upstream 24085f70a6e1 a44eb8f7 .config log report syz C
ci-upstream-kasan-gce 2020/04/28 05:35 upstream 51184ae37e05 0ce7569e .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/06/17 09:00 upstream 963172d9c7e8 442206d7 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/06/17 06:24 upstream 963172d9c7e8 442206d7 .config log report syz C
ci-upstream-kasan-gce-root 2019/06/17 05:57 upstream 963172d9c7e8 442206d7 .config log report syz C
ci-upstream-kasan-gce 2019/06/17 02:54 upstream 963172d9c7e8 442206d7 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/03 22:27 linux-next 01830e6c042e 196277c4 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/01 07:23 linux-next 01830e6c042e d895b3be .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/30 12:04 linux-next 04b457178630 233283a1 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/13 01:34 linux-next ac935d227366 a44eb8f7 .config log report syz C
ci-upstream-kasan-gce-root 2018/10/02 22:06 upstream 1d2ba7fee28b a316a2af .config log report syz
ci-upstream-kasan-gce-smack-root 2018/10/02 22:05 upstream 1d2ba7fee28b a316a2af .config log report syz
ci-upstream-kasan-gce-selinux-root 2018/10/02 21:59 upstream 1d2ba7fee28b a316a2af .config log report syz
ci-upstream-kasan-gce 2018/10/02 21:06 upstream 1d2ba7fee28b a316a2af .config log report syz
ci-qemu-upstream 2022/05/25 16:55 upstream fdaf9a5840ac 3037caa9 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/25 09:24 upstream 0350785b0a09 647c0e27 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/21 09:12 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/19 00:30 upstream ef1302160bfb 50c53f39 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/18 07:32 upstream 210e04ff7681 744a39e2 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/11 23:26 upstream feb9c5e19e91 beb0b407 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/09 14:16 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/06 15:53 upstream fe27d189e3f4 e60b1103 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/04 16:11 upstream 107c948d1d3e dc9e5259 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/04 05:41 upstream ef8e4d3c2ab1 dc9e5259 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/05/01 21:14 upstream b2da7df52e16 2df221f6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/29 07:14 upstream 259b897e5a79 e9076525 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/29 05:10 upstream 259b897e5a79 e9076525 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/25 04:17 upstream 5206548f6e67 131df97d .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/21 00:13 upstream 559089e0a93d 160a3f31 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/15 00:13 upstream b9b4c79e5830 b17b2923 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/14 04:45 upstream a19944809fe9 b17b2923 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream 2022/04/07 20:31 upstream 3e732ebf7316 c6ff3e05 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce 2022/03/15 19:44 upstream 09688c0166e7 9e8eaa75 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-smack-root 2022/03/13 04:37 upstream aad611a868d1 9e8eaa75 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/25 05:40 upstream 0350785b0a09 647c0e27 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/20 06:11 upstream b015dcd62b86 cb1ac2e7 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/09 18:30 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/09 17:10 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/09 15:47 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/08 16:48 upstream 30c8e80f7932 e60b1103 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/06 14:45 upstream fe27d189e3f4 e60b1103 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/05 16:29 upstream a7391ad35724 b3f09415 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/04 13:16 upstream 107c948d1d3e dc9e5259 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/02 12:52 upstream 672c0c517342 2df221f6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/02 01:05 upstream b2da7df52e16 2df221f6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/01 10:10 upstream 57ae8a492116 2df221f6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/05/01 05:16 upstream 57ae8a492116 2df221f6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/29 21:16 upstream 38d741cb70b3 44a5ca63 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/29 02:16 upstream 259b897e5a79 e9076525 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/28 18:25 upstream 8f4dd16603ce e9076525 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/28 05:47 upstream 03498b7131b8 8a1f1f07 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/23 02:33 upstream d569e86915b7 131df97d .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/18 06:07 upstream b2d229d4ddb1 8bcc32a6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/17 04:55 upstream 90ea17a9e27b 8bcc32a6 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/15 00:04 upstream b9b4c79e5830 b17b2923 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/11 16:08 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/08 13:06 upstream 1831fed55973 c6ff3e05 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/08 01:11 upstream 42e7a03d3bad c6ff3e05 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-qemu-upstream-386 2022/04/07 23:23 upstream 42e7a03d3bad c6ff3e05 .config log report info WARNING in kvm_arch_vcpu_ioctl_run
ci-upstream-kasan-gce-root 2020/07/06 09:44 upstream 7cc2a8ea1048 51095195 .config log report
ci-upstream-kasan-gce-386 2019/11/19 04:04 upstream af42d3466bdc 5bc70212 .config log report
ci-upstream-kasan-gce-386 2018/03/24 06:26 upstream 99fec39e7725 2e9d9054 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/08/10 09:37 linux-next 01830e6c042e 70301872 .config log report