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: 392d, last: 3d00h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in vkms_vblank_simulate (log)
Repro: C syz .config

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

CPU: 1 PID: 3617 Comm: syz-executor274 Not tainted 5.18.0-rc6-syzkaller-00085-gf3f19f939c11 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:drm_wait_one_vblank+0x2bc/0x500 drivers/gpu/drm/drm_vblank.c:1269
Code: 85 f6 0f 84 a3 01 00 00 e8 91 34 04 fd 4c 89 ef e8 39 17 16 00 44 89 e1 4c 89 f2 48 c7 c7 40 3b 3b 8a 48 89 c6 e8 c4 f9 b3 04 <0f> 0b e9 87 fe ff ff e8 68 34 04 fd 31 ff 4c 89 ee e8 ee 36 04 fd
RSP: 0018:ffffc9000305fb40 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000aa5 RCX: 0000000000000000
RDX: ffff8880734ee040 RSI: ffffffff815f4a18 RDI: fffff5200060bf5a
RBP: ffff888019e80000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815ef3ee R11: 0000000000000000 R12: 0000000000000000
R13: ffff888148622010 R14: ffff88801bab1e00 R15: ffff88801b89f030
FS:  000055555720b300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f888321b01d CR3: 0000000072f57000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drm_fb_helper_ioctl+0x159/0x1a0 drivers/gpu/drm/drm_fb_helper.c:1229
 do_fb_ioctl+0x1d5/0x6c0 drivers/video/fbdev/core/fbmem.c:1174
 fb_ioctl+0xe7/0x150 drivers/video/fbdev/core/fbmem.c:1188
 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/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f88831d7139
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:00007ffc254f6468 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f88831d7139
RDX: 0000000000000000 RSI: 0000000040044620 RDI: 0000000000000003
RBP: 00007ffc254f6480 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffc254f647c R14: 00007ffc254f64a0 R15: 00007ffc254f6490
 </TASK>

Crashes (140):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/05/13 21:58 upstream f3f19f939c11 107f6434 .config log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2021/12/12 02:50 upstream 6f513529296f 49ca1f59 .config log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/05/25 23:11 upstream fdaf9a5840ac 647c0e27 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/05/22 15:50 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/05/21 14:25 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/05/17 22:25 upstream 42226c989789 744a39e2 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/05/13 21:22 upstream f3f19f939c11 107f6434 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/05/11 02:59 upstream feb9c5e19e91 8d7b3b67 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/05/10 20:20 upstream feb9c5e19e91 8b277b8e .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/28 21:46 upstream 259b897e5a79 e9076525 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/04/28 15:22 upstream 8f4dd16603ce 8a1f1f07 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/23 12:58 upstream c00c5e1d157b 131df97d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/04/22 02:21 upstream 59f0c2447e25 2738b391 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/19 16:43 upstream b2d229d4ddb1 c334415e .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/04/16 19:26 upstream 59250f8a7f3a 8bcc32a6 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/04/16 07:09 upstream 59250f8a7f3a 8bcc32a6 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/04/15 16:53 upstream 028192fea1de 8bcc32a6 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/04/15 08:53 upstream b9b4c79e5830 b17b2923 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/13 05:14 upstream a19944809fe9 dacb3f1c .config log report info WARNING in drm_wait_one_vblank
ci-qemu-upstream 2022/04/12 11:03 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/04/12 10:52 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/04/12 01:58 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in drm_wait_one_vblank
ci-qemu-upstream 2022/04/12 00:28 upstream ce522ba9ef7e af01ee7d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/11 11:14 upstream ce522ba9ef7e e22c3da3 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/04/09 21:34 upstream f1b45d8ccb98 e22c3da3 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/07 15:22 upstream 3e732ebf7316 c6ff3e05 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/04/06 05:30 upstream ce4c854ee868 0127c10f .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/04 23:46 upstream 312310928417 5915c2cb .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/04 09:27 upstream 09bb8856d4a7 79a2a8fc .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/02 07:25 upstream 8467b0ed6ce3 79a2a8fc .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/04/01 18:43 upstream e8b767f5e040 20955a24 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/04/01 06:57 upstream b4a5ea09b293 68fc921a .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/03/31 09:10 upstream 787af64d05cd 9d49f3a7 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/03/30 16:57 upstream d888c83fcec7 42718dd6 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/03/29 22:43 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/03/28 09:07 upstream f82da161ea75 89bc8608 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/27 15:31 upstream f022814633e1 89bc8608 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/26 18:15 upstream 52d543b5497c 89bc8608 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/26 07:47 upstream 52d543b5497c 89bc8608 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/03/25 11:02 upstream 52deda9551a0 89bc8608 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/23 20:06 upstream 6b1f86f8e9c7 5ff41e94 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/21 16:32 upstream f443e374ae13 e2d91b1d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/03/20 21:09 upstream 14702b3b2438 e2d91b1d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/03/17 08:13 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/03/17 02:50 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/03/17 00:33 upstream 56e337f2cf13 dfa9a8ed .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/14 22:44 upstream 09688c0166e7 9e8eaa75 .config log report info WARNING in drm_wait_one_vblank
ci-qemu-upstream 2022/03/12 23:27 upstream aad611a868d1 9e8eaa75 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/12 15:37 upstream 68453767131a 9e8eaa75 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/03/12 07:52 upstream 68453767131a 9e8eaa75 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/03/12 01:37 upstream 79b00034e9dc 9e8eaa75 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2021/05/01 14:00 upstream d2b6f8a17919 77e2b668 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/04/08 21:05 linux-next ff511c1c68a5 15be3cba .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/03/30 11:14 linux-next a67ba3cf9551 6bdac766 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/03/23 13:57 linux-next b61581ae229d 5ff41e94 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/03/22 09:39 linux-next f9006d9269ea e2d91b1d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/03/17 04:10 linux-next 91265a6da44d dfa9a8ed .config log report info WARNING in drm_wait_one_vblank