syzbot


WARNING in vkms_vblank_simulate (2)

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+4fc21a003c8332eb0bdd@syzkaller.appspotmail.com
Fix commit: b4142fc4d52d drm/vkms: fix misuse of WARN_ON
First crash: 824d, last: 446d

Cause bisection: failed (bisect log)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream boot error: WARNING in vkms_vblank_simulate 27 642d 688d 0/24 closed as dup on 2021/03/12 10:46
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vkms_vblank_simulate C done 12903 871d 1448d 17/24 fixed on 2020/09/16 22:51

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 37 at drivers/gpu/drm/vkms/vkms_crtc.c:21 vkms_vblank_simulate+0x31e/0x3b0 drivers/gpu/drm/vkms/vkms_crtc.c:21
Modules linked in:
CPU: 0 PID: 37 Comm: kauditd Not tainted 5.12.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:vkms_vblank_simulate+0x31e/0x3b0 drivers/gpu/drm/vkms/vkms_crtc.c:21
Code: 85 9e 00 00 00 48 8b 95 b8 01 00 00 4c 89 e1 bf 02 00 00 00 48 c7 c6 60 36 d8 89 e8 ac fa ef ff e9 e5 fe ff ff e8 32 5d 26 fd <0f> 0b e9 88 fd ff ff e8 46 92 69 fd e9 11 fe ff ff 4c 89 ef e8 39
RSP: 0018:ffffc90000007df0 EFLAGS: 00010046
RAX: 0000000000010001 RBX: ffff8880153ede58 RCX: 0000000000000000
RDX: ffff8880119c4200 RSI: ffffffff844ccc6e RDI: 0000000000000003
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff844cc9f3 R11: 0000000000000000 R12: ffff8880153ecd30
R13: 0000000000fe4c00 R14: ffff8880b9c26340 R15: ffffffff844cc950
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff436bd9c8 CR3: 000000001f1a1000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1537 [inline]
 __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601
 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100
 </IRQ>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197
Code: f0 4d 89 03 e9 f2 fc ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 40 00 <65> 8b 05 19 c6 8e 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0018:ffffc90000e77af0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880119c4200 RSI: ffffffff815b3fef RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fa9f8a7
R10: ffffffff815b3fe5 R11: 0000000000000000 R12: ffffffff84b26ee0
R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc90000e77b50
 console_unlock+0x805/0xc80 kernel/printk/printk.c:2586
 vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2098
 vprintk_func+0x8d/0x1e0 kernel/printk/printk_safe.c:401
 printk+0xba/0xed kernel/printk/printk.c:2146
 kauditd_printk_skb kernel/audit.c:538 [inline]
 kauditd_hold_skb.cold+0x41/0x50 kernel/audit.c:571
 kauditd_send_queue+0x19d/0x210 kernel/audit.c:734
 kauditd_thread+0x7fa/0xb80 kernel/audit.c:860
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (77748):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-selinux-root 2021/04/25 16:42 upstream 2a1d7946fa53 36c88236 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/04/12 20:03 upstream d434405aaab7 bfeda1b1 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-smack-root 2021/04/06 04:58 upstream 0a50438c8436 6a81331a .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/04/04 02:11 upstream 57fbdb15ec42 6a81331a .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/04/03 08:08 upstream d93a0d43e3d0 6a81331a .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce 2021/03/30 14:59 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-smack-root 2021/03/27 21:20 upstream 0f4498cef9f5 a8529b82 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce 2021/03/24 02:14 upstream 7acac4b3196c e613994b .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/03/23 08:14 upstream 84196390620a 8092f30d .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/03/22 17:00 upstream 0d02ec6b3136 bea32f74 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/03/05 08:14 upstream cee407c5cc42 9d751681 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce 2021/02/22 03:16 upstream 55f62bc87347 a659b3f1 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/01/23 02:32 upstream 83d09ad4b950 4080af96 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/04/15 08:06 upstream 7f75285ca572 fcdb12ba .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/02/21 13:54 upstream e767b3530acb 3e5ed8b4 .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-linux-next-kasan-gce-root 2021/02/04 22:17 linux-next 0e2c50f40b7f 42b90a7c .config console log report syz C WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/01/15 23:48 upstream 5ee88057889b 65a7a854 .config console log report syz C
ci-upstream-kasan-gce 2021/01/04 09:03 upstream e71ba9452f0b 79264ae3 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/10/29 10:54 linux-next 3f267ec60b92 f24824d3 .config console log report syz C
ci-upstream-kasan-gce 2021/04/25 03:36 upstream 8db5efb83fa9 17f0b706 .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce 2021/04/03 23:00 upstream 57fbdb15ec42 6a81331a .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/01/22 08:27 upstream 9f29bd8b2e71 d4f4eca5 .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/04/14 21:05 upstream 50987beca096 3134b37f .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/04/06 00:03 upstream 0a50438c8436 6a81331a .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/04/02 17:54 upstream 1678e493d530 6a81331a .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/03/27 13:04 upstream 0f4498cef9f5 a8529b82 .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/03/20 21:13 upstream 1c273e10bc0c 17810eae .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/02/20 22:44 upstream f40ddce88593 3e5ed8b4 .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/02/15 21:45 upstream f40ddce88593 98682e5e .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/01/30 12:34 upstream 0e9bcda5d286 fc9fd31e .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/01/23 14:54 upstream fe75a21824e7 52e37319 .config console log report syz WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/01/10 00:00 upstream 996e435fd401 2c1f2513 .config console log report syz
ci-upstream-kasan-gce-386 2021/01/09 22:38 upstream 996e435fd401 2c1f2513 .config console log report syz
ci-upstream-kasan-gce-386 2021/01/09 04:49 upstream 6279d812eab6 c104d4a3 .config console log report syz
ci-upstream-kasan-gce-386 2020/12/21 20:09 upstream e37b12e4bb21 04201c06 .config console log report syz
ci-upstream-linux-next-kasan-gce-root 2020/10/29 10:23 linux-next 3f267ec60b92 f24824d3 .config console log report syz
ci-qemu-upstream 2021/05/08 16:34 upstream 18a3c5f7abfd bc5434be .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/04/29 03:03 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce 2021/04/29 02:35 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-smack-root 2021/04/28 23:05 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-root 2021/04/28 20:21 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/09 15:42 upstream bf152b0b41dc 59bcaf9a .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/09 11:16 upstream bf152b0b41dc 8ab17e57 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/08 17:45 upstream bf152b0b41dc d29682f1 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/07 11:46 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/04 19:26 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/04 00:44 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/03 21:07 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/03 15:53 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/03 15:14 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/03 06:16 upstream bf152b0b41dc 17f3edd2 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/02 16:12 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/02 15:03 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/11/02 03:32 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/31 10:03 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/30 15:22 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/30 02:20 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/30 01:11 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/29 19:18 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/29 09:16 upstream bf152b0b41dc 2353a3ec .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/28 07:38 upstream bf152b0b41dc be531bb4 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/27 22:01 upstream bf152b0b41dc 719a0d78 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/26 22:29 upstream bf152b0b41dc d50eb50a .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/26 04:22 upstream bf152b0b41dc c1132b49 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/25 23:36 upstream bf152b0b41dc c1132b49 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/25 21:10 upstream bf152b0b41dc 78e5f70a .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/24 20:42 upstream bf152b0b41dc 4f0000ee .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/22 14:07 upstream bf152b0b41dc 282f03fb .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/22 12:31 upstream bf152b0b41dc 55f90bc6 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/22 05:54 upstream bf152b0b41dc 55f90bc6 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/21 01:07 upstream bf152b0b41dc f111d03b .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/20 21:18 upstream bf152b0b41dc 418a00eb .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/20 16:57 upstream bf152b0b41dc 418a00eb .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/20 02:42 upstream bf152b0b41dc 466b7db1 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/19 17:09 upstream bf152b0b41dc 24dc29db .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/19 02:04 upstream bf152b0b41dc 24dc29db .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/16 09:00 upstream bf152b0b41dc 0c5d9412 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/16 07:45 upstream bf152b0b41dc 0c5d9412 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/15 14:54 upstream bf152b0b41dc aab7690b .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/14 23:15 upstream bf152b0b41dc 7aa5fe41 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/14 09:54 upstream bf152b0b41dc 5462d470 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/13 14:49 upstream bf152b0b41dc 2184365e .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/12 19:20 upstream bf152b0b41dc f5acd036 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/12 01:05 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/11 05:41 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/11 01:02 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/09 23:52 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/09 22:17 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/08 14:35 upstream bf152b0b41dc efe0f24d .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm32 2021/10/08 05:24 upstream bf152b0b41dc efe0f24d .config console log report info WARNING in vkms_vblank_simulate
ci-qemu-upstream-386 2021/05/08 13:24 upstream 18a3c5f7abfd bc5434be .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm64 2021/04/28 19:22 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm64-compat 2021/04/28 17:54 upstream acd3d2859453 77e2b668 .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-386 2021/04/28 11:54 upstream 57fa2369ab17 805b5003 .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-arm64-mte 2021/04/28 02:00 upstream fafe1e39ed21 805b5003 .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-linux-next-kasan-gce-root 2021/03/26 01:35 linux-next b4f20b70784a 6a383ecf .config console log report info WARNING in vkms_vblank_simulate
ci-qemu2-riscv64 2021/06/19 06:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 18a3c5f7abfd aba2b2fb .config console log report info WARNING in vkms_vblank_simulate
ci-upstream-kasan-gce-selinux-root 2021/01/17 14:25 upstream 0da0a8a0a0e1 813be542 .config console log report info
ci-upstream-linux-next-kasan-gce-root 2020/10/27 06:03 linux-next 0dec50edcc92 8b3eaf58 .config console log report info
* Struck through repros no longer work on HEAD.