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: 515d, last: 2d20h

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:
------------[ cut here ]------------
platform vkms: vblank wait timed out on crtc 0
WARNING: CPU: 1 PID: 3662 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: 3662 Comm: syz-executor151 Not tainted 6.0.0-rc5-syzkaller-00094-ga335366bad13 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
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 31 c7 04 fd 4c 89 ef e8 69 a2 1a 00 44 89 e1 4c 89 f2 48 c7 c7 20 5e 5d 8a 48 89 c6 e8 06 46 c4 04 <0f> 0b e9 87 fe ff ff e8 08 c7 04 fd 31 ff 4c 89 ee e8 de c3 04 fd
RSP: 0018:ffffc900031b7b40 EFLAGS: 00010282

RAX: 0000000000000000 RBX: 0000000000000a22 RCX: 0000000000000000
RDX: ffff88807d508180 RSI: ffffffff81611e08 RDI: fffff52000636f5a
RBP: ffff888146a90000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801e5d0010 R14: ffff888146f73240 R15: ffff88801e557030
FS:  00007ff5f1e35700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff5f1e14718 CR3: 0000000022d37000 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:1240
 do_fb_ioctl+0x1d5/0x6e0 drivers/video/fbdev/core/fbmem.c:1187
 fb_ioctl+0xe7/0x150 drivers/video/fbdev/core/fbmem.c:1201
 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+0x63/0xcd
RIP: 0033:0x7ff5f1e83c39
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:00007ff5f1e352f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff5f1f0c4a8 RCX: 00007ff5f1e83c39
RDX: 0000000000000000 RSI: 0000000040044620 RDI: 0000000000000003
RBP: 00007ff5f1f0c4a0 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 3062662f7665642f
R13: 00007ff5f1e35300 R14: 0000000000000001 R15: 0000000000022000
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/06/26 10:35 upstream 0840a7914caa 107f6434 .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (176):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/09/17 23:56 upstream a335366bad13 dd9a85ff .config 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 log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/07/03 07:02 upstream 34074da5424c 1434eec0 .config 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 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-linux-next-kasan-gce-root 2022/08/10 09:55 linux-next 6c8f479764eb c2a623d6 .config log report syz C WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/09/25 20:10 upstream 105a36f3694e 0042f2b4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/09/25 06:48 upstream 1a61b828566f 0042f2b4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/09/11 03:17 upstream b96fbd602d35 356d8217 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/09/09 22:28 upstream 9b4509495418 356d8217 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/09/09 10:44 upstream 506357871c18 f3027468 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/09/03 01:32 upstream 0b3acd1cc022 25194605 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/09/02 07:23 upstream 42e66b1cc3a0 a805568e .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/08/30 04:18 upstream b90cb1053190 5b44472d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/08/22 01:42 upstream e3f259d33c0e 26a13b38 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/08/18 13:59 upstream 274a2eebf80c d58e263f .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-smack-root 2022/08/17 13:12 upstream 7ebfc85e2cd7 4e72d229 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/08/13 22:47 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/08/07 10:22 upstream 200e340f2196 88e3a122 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/08/03 14:31 upstream e2b542100719 1c9013ac .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/29 08:22 upstream 33ea1340bafe fb95c74d .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/07/24 17:04 upstream 515f71412bb7 22343af4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/24 08:22 upstream 515f71412bb7 22343af4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/20 18:54 upstream ca85855bdcae 775344bc .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/19 03:32 upstream 80e19f34c288 ff988920 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/18 06:54 upstream ff6992735ade 95cb00d1 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/07/17 14:45 upstream 972a278fe60c 95cb00d1 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/15 23:59 upstream 9b59ec8d50a1 95cb00d1 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/15 03:57 upstream 9bd572ec7a66 5d921b08 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-root 2022/07/11 21:26 upstream 32346491ddf2 da3d6955 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/10 14:23 upstream b1c428b6c368 b5765a15 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce 2022/07/05 02:46 upstream c1084b6c5620 bff65f44 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-kasan-gce-selinux-root 2022/06/26 16:59 upstream 0840a7914caa a371c43c .config log report info 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 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/09/23 07:53 linux-next 483fed3b5dc8 0042f2b4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/09/01 19:11 linux-next e47eb90a0a9a 86c46e46 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/08/28 21:42 linux-next 8d0c42c9e807 07177916 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/07/23 16:44 linux-next cb71b93c2dc3 22343af4 .config log report info WARNING in drm_wait_one_vblank
ci-upstream-linux-next-kasan-gce-root 2022/07/12 10:47 linux-next cb71b93c2dc3 da3d6955 .config log report info WARNING in drm_wait_one_vblank
* Struck through repros no longer work on HEAD.