syzbot


WARNING in drm_wait_one_vblank

Status: upstream: reported C repro on 2023/03/31 07:06
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9a8f87865d5e2e8ef57f@syzkaller.appspotmail.com
First crash: 175d, last: 12d
Bug presence (1)
Date Name Commit Repro Result
2023/05/17 upstream (ToT) f1fcbaa18b28 C [report] WARNING in drm_wait_one_vblank
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in drm_wait_one_vblank dri C inconclusive 358 23h35m 870d 0/25 upstream: reported C repro on 2021/05/05 14:02
linux-6.1 WARNING in drm_wait_one_vblank origin:upstream C 5 1d06h 170d 0/3 upstream: reported C repro on 2023/04/05 12:39
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/08/16 04:04 3h48m bisect fix linux-5.15.y job log (0) log
2023/06/22 10:17 42m bisect fix linux-5.15.y job log (0) log
2023/04/30 15:17 36m bisect fix linux-5.15.y job log (0) log

Sample crash report:
------------[ cut here ]------------
platform vkms: vblank wait timed out on crtc 0
WARNING: CPU: 1 PID: 3521 at drivers/gpu/drm/drm_vblank.c:1269 drm_wait_one_vblank+0x95a/0x9e0 drivers/gpu/drm/drm_vblank.c:1269
Modules linked in:

CPU: 1 PID: 3521 Comm: syz-executor891 Not tainted 5.15.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:drm_wait_one_vblank+0x95a/0x9e0 drivers/gpu/drm/drm_vblank.c:1269
Code: df 80 3c 08 00 74 08 4c 89 ff e8 c1 92 31 fd 49 8b 1f 48 c7 c7 20 24 eb 8a 4c 89 f6 48 89 da 8b 5c 24 0c 89 d9 e8 46 b1 b3 fc <0f> 0b 49 be 00 00 00 00 00 fc ff df e9 80 fb ff ff 44 89 e9 80 e1
RSP: 0018:ffffc90002d2fac0 EFLAGS: 00010246

RAX: 5e8ffe80826dc200 RBX: 0000000000000000 RCX: ffff8880202c1dc0
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90002d2fc00 R08: ffffffff8166588c R09: fffffbfff1f7b02c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920005a5f64
R13: 0000000000000ad3 R14: ffffffff8af9c2e0 R15: ffff888146b79010
FS:  0000555556fff380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f924b47e4 CR3: 000000007097f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drm_fb_helper_ioctl+0x110/0x140 drivers/gpu/drm/drm_fb_helper.c:1197
 do_fb_ioctl+0x1d2/0x890 drivers/video/fbdev/core/fbmem.c:1191
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f3f9244ce89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007fffec0f7f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fffec0f7f50 RCX: 00007f3f9244ce89
RDX: 0000000000000000 RSI: 0000000040044620 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000555500000000 R09: 0000555500000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000c8d3
R13: 00007fffec0f7f70 R14: 00007fffec0f7f4c R15: 00007f3f9249601d
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/10 20:59 linux-5.15.y aff03380bda4 6654cf89 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
2023/03/31 08:09 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
2023/05/22 04:27 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
2023/09/09 20:35 linux-5.15.y aff03380bda4 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
2023/09/08 17:21 linux-5.15.y aff03380bda4 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
2023/03/31 07:04 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_wait_one_vblank
* Struck through repros no longer work on HEAD.