syzbot


WARNING in drm_wait_one_vblank

Status: upstream: reported C repro on 2021/05/05 14:02
Reported-by: syzbot+6f7fe2dbc479dca0ed17@syzkaller.appspotmail.com
First crash: 642d, last: 1d14h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in vkms_vblank_simulate (log)
Repro: C syz .config
Last patch testing requests:
Created Duration User Patch Repo Result
2022/12/09 10:51 12m code@siddh.me https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
platform vkms: vblank wait timed out on crtc 0
WARNING: CPU: 1 PID: 5087 at drivers/gpu/drm/drm_vblank.c:1269 drm_wait_one_vblank+0x2c0/0x510 drivers/gpu/drm/drm_vblank.c:1269
Modules linked in:

CPU: 1 PID: 5087 Comm: syz-executor928 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:drm_wait_one_vblank+0x2c0/0x510 drivers/gpu/drm/drm_vblank.c:1269
Code: 85 f6 0f 84 a3 01 00 00 e8 1d 4e ef fc 4c 89 ef e8 65 bc 6f 00 44 89 e1 4c 89 f2 48 c7 c7 80 91 ba 8a 48 89 c6 e8 c0 2d 2d 05 <0f> 0b e9 87 fe ff ff e8 f4 4d ef fc 31 ff 4c 89 ee e8 ba 4a ef fc
RSP: 0018:ffffc90003d7fb40 EFLAGS: 00010282

RAX: 0000000000000000 RBX: 0000000000000af2 RCX: 0000000000000000
RDX: ffff88802a960000 RSI: ffffffff8166721c RDI: fffff520007aff5a
RBP: ffff88801df68000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801e523010 R14: ffff88801d2cb410 R15: ffff88801c3ac030
FS:  000055555689a300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000048 CR3: 0000000072c56000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drm_fb_helper_ioctl+0x15d/0x1a0 drivers/gpu/drm/drm_fb_helper.c:1409
 do_fb_ioctl+0x31f/0x740 drivers/video/fbdev/core/fbmem.c:1189
 fb_ioctl+0xeb/0x150 drivers/video/fbdev/core/fbmem.c:1203
 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+0x197/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd37e2d9139
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff7d3e2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fd37e2d9139
RDX: 0000000000000000 RSI: 0000000040044620 RDI: 0000000000000003
RBP: 00007fff7d3e2c90 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007fff7d3e2c8c R14: 00007fff7d3e2cb0 R15: 00007fff7d3e2ca0
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-selinux-root 2022/06/26 10:35 upstream 0840a7914caa 107f6434 .config console log report syz C
* Struck through repros no longer work on HEAD.
Crashes (235):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2022/12/27 12:19 upstream 1b929c02afd3 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/09/17 23:56 upstream a335366bad13 dd9a85ff .config console log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/08/20 02:37 upstream 4c2d0b039c5c 26a13b38 .config strace log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/07/03 07:02 upstream 34074da5424c 1434eec0 .config strace log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/05/13 21:58 upstream f3f19f939c11 107f6434 .config strace log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2021/12/12 02:50 upstream 6f513529296f 49ca1f59 .config console log report syz C WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/08/10 09:55 linux-next 6c8f479764eb c2a623d6 .config strace log report syz C WARNING in drm_wait_one_vblank
ci2-upstream-fs 2023/02/01 01:59 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-qemu-upstream 2023/01/31 00:31 upstream 6d796c50f84c 7374c4e5 .config console log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/30 18:05 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/30 11:20 upstream ab072681eabe 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2023/01/27 11:42 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/25 21:47 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2023/01/23 22:14 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/21 18:47 upstream f883675bf652 559a440a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2023/01/18 19:20 upstream c1649ec55708 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2023/01/17 10:45 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2023/01/11 02:25 upstream 40c18f363a08 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/06 10:50 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/05 22:06 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2023/01/02 09:00 upstream 150aae354b81 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/12/31 18:58 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/12/30 07:11 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/12/30 04:19 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/12/27 12:04 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/12/23 05:11 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/12/19 12:38 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/12/16 18:36 upstream 84e57d292203 79e1d513 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/12/13 12:32 upstream 3a28c2c89f4b 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/12/05 22:23 upstream 76dcd734eca2 045cbb84 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/12/05 09:10 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/11/28 10:48 upstream bf82d38c91f8 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/11/19 01:44 upstream 84368d882b96 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/11/13 11:29 upstream fef7fd48922d 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/11/04 16:26 upstream ee6050c8af96 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/11/03 04:19 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/11/03 02:18 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/11/01 23:40 upstream b229b6ca5abb edac4fd1 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/11/01 11:44 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/10/31 12:33 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/10/31 06:52 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/10/25 12:52 upstream a970174d7a10 45645420 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/10/22 21:52 upstream 4da34b7d175d c0b80a55 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci2-upstream-fs 2022/10/22 11:57 upstream 440b7895c990 c0b80a55 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/10/19 05:19 upstream 55be6084c8e0 b31320fc .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/10/16 05:23 upstream 55be6084c8e0 67cb024c .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/10/15 13:48 upstream 55be6084c8e0 67cb024c .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/10/08 16:36 upstream e8bc52cb8df8 aea5da89 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/10/07 22:45 upstream 4c86114194e6 0de35f24 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/10/07 06:44 upstream ffb39098bf87 8a212197 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-qemu-upstream 2022/04/12 11:03 upstream ce522ba9ef7e af01ee7d .config console log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2021/05/01 14:00 upstream d2b6f8a17919 77e2b668 .config console log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2023/01/24 08:43 linux-next 691781f561e9 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2023/01/09 16:13 linux-next 543b9b2fe10b 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/12/26 16:15 linux-next c76083fac3ba 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/11/09 21:01 linux-next 0cdb3579f1ee 5fa28208 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/10/18 06:44 linux-next 77d8bf70fac0 754863b4 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/10/15 09:06 linux-next aaa11ce2ffc8 67cb024c .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/10/09 16:10 linux-next aaa11ce2ffc8 aea5da89 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/10/07 08:36 linux-next aaa11ce2ffc8 8a212197 .config console log report info [disk image] [vmlinux] WARNING in drm_wait_one_vblank
* Struck through repros no longer work on HEAD.