syzbot


WARNING in vkms_get_vblank_timestamp

Status: fixed on 2023/06/08 14:41
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+75cc0f9f7e6324dd2501@syzkaller.appspotmail.com
Fix commit: f2c7ca890182 drm/atomic-helper: Don't set deadline for modesets
First crash: 381d, last: 317d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [dri?] WARNING in vkms_get_vblank_timestamp 3 (5) 2023/04/12 10:56
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in vkms_get_vblank_timestamp origin:upstream C 2 5h44m 34d 0/3 upstream: reported C repro on 2024/03/14 22:37
upstream WARNING in vkms_get_vblank_timestamp (2) dri C done 246 2d17h 310d 0/26 upstream: reported C repro on 2023/06/13 03:40
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/04/12 10:24 19m nogikh@google.com linux-next OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6019 at drivers/gpu/drm/vkms/vkms_crtc.c:103 vkms_get_vblank_timestamp+0x1cf/0x240 drivers/gpu/drm/vkms/vkms_crtc.c:103
Modules linked in:
CPU: 1 PID: 6019 Comm: syz-executor.1 Not tainted 6.3.0-rc4-next-20230331-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:vkms_get_vblank_timestamp+0x1cf/0x240 drivers/gpu/drm/vkms/vkms_crtc.c:103
Code: ce 73 fc e8 53 e9 63 fc 4c 89 e1 48 ba 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 11 00 75 65 49 89 04 24 eb c4 e8 b1 ce 73 fc <0f> 0b eb bb e8 d8 80 c6 fc e9 de fe ff ff e8 0e 81 c6 fc e9 78 fe
RSP: 0018:ffffc9000b3873d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000004e19fc6e8a RCX: 0000000000000000
RDX: ffff8880756257c0 RSI: ffffffff850f429f RDI: 0000000000000006
RBP: ffff88801dc84000 R08: 0000000000000006 R09: 0000004e19fc6e8a
R10: 0000004e19fc6e8a R11: 0000000000000000 R12: ffffc9000b387540
R13: 0000004e19fc6e8a R14: 0000000000004e20 R15: ffffffff850f40d0
FS:  00007f5372809700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000202fc000 CR3: 0000000027361000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drm_crtc_get_last_vbltimestamp+0x102/0x1a0 drivers/gpu/drm/drm_vblank.c:877
 drm_crtc_next_vblank_start+0x13f/0x2b0 drivers/gpu/drm/drm_vblank.c:1006
 set_fence_deadline drivers/gpu/drm/drm_atomic_helper.c:1531 [inline]
 drm_atomic_helper_wait_for_fences+0x1b4/0x780 drivers/gpu/drm/drm_atomic_helper.c:1578
 drm_atomic_helper_commit drivers/gpu/drm/drm_atomic_helper.c:2007 [inline]
 drm_atomic_helper_commit+0x1bd/0x370 drivers/gpu/drm/drm_atomic_helper.c:1979
 drm_atomic_commit+0x20a/0x300 drivers/gpu/drm/drm_atomic.c:1503
 drm_client_modeset_commit_atomic+0x69b/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1045
 drm_client_modeset_commit_locked+0x149/0x580 drivers/gpu/drm/drm_client_modeset.c:1148
 pan_display_atomic drivers/gpu/drm/drm_fb_helper.c:1690 [inline]
 drm_fb_helper_pan_display+0x28f/0x970 drivers/gpu/drm/drm_fb_helper.c:1750
 fb_pan_display+0x2fb/0x6c0 drivers/video/fbdev/core/fbmem.c:924
 bit_update_start+0x49/0x1f0 drivers/video/fbdev/core/bitblit.c:387
 fbcon_switch+0xbcf/0x1380 drivers/video/fbdev/core/fbcon.c:2169
 redraw_screen+0x2bd/0x740 drivers/tty/vt/vt.c:965
 fbcon_modechanged+0x526/0x620 drivers/video/fbdev/core/fbcon.c:2704
 fbcon_update_vcs+0x3e/0x50 drivers/video/fbdev/core/fbcon.c:2749
 do_fb_ioctl+0x6d7/0x740 drivers/video/fbdev/core/fbmem.c:1125
 fb_ioctl+0xeb/0x150 drivers/video/fbdev/core/fbmem.c:1202
 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:0x7f5371a8c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f5372809168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5371bac050 RCX: 00007f5371a8c0f9
RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000005
RBP: 00007f5371ae7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd0e5e571f R14: 00007f5372809300 R15: 0000000000022000
 </TASK>

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/02 18:53 linux-next 4b0f4525dc4f f325deb0 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/06/04 18:35 upstream 6f64a5ebe1dc a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/06/02 08:10 upstream 1874a42a7d74 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/06/02 03:45 upstream 1874a42a7d74 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/06/01 12:27 upstream 929ed21dfdb6 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/05/31 17:31 upstream 48b1320a674e e2a77acd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/05/24 23:42 upstream 9d646009f65d 4bce1a3e .config console log report info ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/05/24 18:50 upstream 9d646009f65d 4bce1a3e .config console log report info ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/24 12:19 upstream 27e462c8fad4 4bce1a3e .config console log report info ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/24 08:50 upstream 27e462c8fad4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2023/05/23 12:22 upstream ae8373a5add4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/05/17 02:22 upstream f1fcbaa18b28 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/15 03:23 upstream f1fcbaa18b28 2b9ba477 .config console log report info ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/14 23:40 upstream 838a854820ee 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in vkms_get_vblank_timestamp
2023/05/14 19:32 upstream bb7c241fae62 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/07 19:00 upstream fc4354c6e5c2 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/05/06 02:06 upstream 78b421b6a7c6 4cec9341 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/05/05 10:00 upstream 3c4aa4434377 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2023/05/04 03:41 upstream 89b7fd5d7f3c b5918830 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in vkms_get_vblank_timestamp
2023/05/02 10:23 upstream 865fdb08197e 62df2017 .config console log report info ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/04/29 19:55 upstream 89d77f71f493 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in vkms_get_vblank_timestamp
2023/04/28 11:03 upstream 33afd4b76393 457a6e0a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/04/28 03:18 upstream cec24b8b6bb8 70a605de .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in vkms_get_vblank_timestamp
2023/04/27 19:13 upstream 6e98b09da931 6f5b1cc4 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2023/06/05 09:11 upstream 9561de3a55be a4ae4f42 .config console log report info ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/27 18:44 upstream 49572d536129 cf184559 .config console log report info ci-qemu2-arm64-compat WARNING in vkms_get_vblank_timestamp
2023/05/20 06:15 upstream cbd6ac3837cd 96689200 .config console log report info ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2023/05/19 12:13 upstream 2d1bcbc6cd70 3bb7af1d .config console log report info ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/10 02:50 upstream 1dc3731daf1f 1964022b .config console log report info ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/05 17:23 upstream 78b421b6a7c6 acf730dc .config console log report info ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/02 17:02 upstream 865fdb08197e 48e0a81d .config console log report info ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2023/04/27 17:57 upstream 6e98b09da931 6f5b1cc4 .config console log report info ci-qemu2-arm64-compat WARNING in vkms_get_vblank_timestamp
2023/05/20 18:35 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/04/22 16:33 linux-next d3e1ee0e67e7 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/04/21 11:26 linux-next 44bf136283e5 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/04/20 04:23 linux-next 3cdbc01c40e3 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/04/03 04:42 linux-next 4b0f4525dc4f f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/04/02 17:45 linux-next 4b0f4525dc4f f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2023/06/02 08:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb0f1697d729 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/29 19:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb0f1697d729 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2023/05/20 19:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
* Struck through repros no longer work on HEAD.