syzbot


WARNING in vkms_get_vblank_timestamp (2)

Status: upstream: reported C repro on 2023/06/13 03:40
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+93bd128a383695391534@syzkaller.appspotmail.com
First crash: 316d, last: 1d02h
Cause bisection: introduced by (bisect log) :
commit ea40d7857d5250e5400f38c69ef9e17321e9c4a2
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri Oct 9 23:21:56 2020 +0000

  drm/vkms: fbdev emulation support

Crash: WARNING in vkms_vblank_simulate (log)
Repro: C syz .config
  
Discussions (10)
Title Replies (including bot) Last reply
[syzbot] Monthly dri report (Apr 2024) 0 (1) 2024/04/05 12:37
[syzbot] [dri?] WARNING in vkms_get_vblank_timestamp (2) 5 (14) 2024/02/26 08:33
[syzbot] Monthly dri report (Feb 2024) 0 (1) 2024/02/02 21:05
[syzbot] Monthly dri report (Jan 2024) 0 (1) 2024/01/02 13:36
[syzbot] Monthly dri report (Nov 2023) 0 (1) 2023/11/30 20:33
[syzbot] Monthly dri report (Oct 2023) 0 (1) 2023/10/30 12:59
[syzbot] Monthly dri report (Sep 2023) 0 (1) 2023/09/28 11:42
[syzbot] Monthly dri report (Aug 2023) 0 (1) 2023/08/27 14:06
[syzbot] Monthly dri report (Jul 2023) 0 (1) 2023/07/26 20:38
[syzbot] Monthly dri report (Jun 2023) 0 (1) 2023/06/26 18:48
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in vkms_get_vblank_timestamp dri syz error 41 320d 379d 22/26 fixed on 2023/06/08 14:41
linux-6.1 WARNING in vkms_get_vblank_timestamp origin:upstream C 2 2d16h 36d 0/3 upstream: reported C repro on 2024/03/14 22:37
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/02/26 07:30 20m lizhi.xu@windriver.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master log
2024/02/26 04:02 22m lizhi.xu@windriver.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master log
2024/02/26 02:52 4m lizhi.xu@windriver.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v6.8 error OK
2024/02/26 02:37 0m lizhi.xu@windriver.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v6.8 error OK
2024/02/08 00:36 15m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
WARNING: CPU: 1 PID: 5098 at drivers/gpu/drm/vkms/vkms_crtc.c:103 vkms_get_vblank_timestamp+0x1d2/0x210 drivers/gpu/drm/vkms/vkms_crtc.c:103
Modules linked in:
CPU: 1 PID: 5098 Comm: syz-executor365 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:vkms_get_vblank_timestamp+0x1d2/0x210 drivers/gpu/drm/vkms/vkms_crtc.c:103
Code: 00 74 08 48 89 ef e8 6d 69 22 fc 48 89 5d 00 b0 01 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 3f 19 bf fb 90 <0f> 0b 90 eb e0 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 74 fe ff ff 48
RSP: 0018:ffffc900039ff5a0 EFLAGS: 00010093
RAX: ffffffff85d5dc11 RBX: 00000011f8e83823 RCX: ffff888022a7bc00
RDX: 0000000000000000 RSI: 00000011f8e83823 RDI: 00000011f8e83823
RBP: ffffc900039ff670 R08: ffffffff85d5db79 R09: fffff5200073febc
R10: dffffc0000000000 R11: ffffffff85d5da40 R12: 00000011f8e83823
R13: 1ffff9200073fece R14: 0000000000000000 R15: ffff88801f810000
FS:  00005555848d3380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb3afff100 CR3: 000000007ddb2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drm_crtc_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:867 [inline]
 drm_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:886 [inline]
 drm_update_vblank_count+0x25a/0x9c0 drivers/gpu/drm/drm_vblank.c:298
 drm_vblank_disable_and_save+0xee/0x3b0 drivers/gpu/drm/drm_vblank.c:467
 drm_crtc_vblank_off+0x34a/0x990 drivers/gpu/drm/drm_vblank.c:1351
 disable_outputs drivers/gpu/drm/drm_atomic_helper.c:1213 [inline]
 drm_atomic_helper_commit_modeset_disables+0xcff/0x1a10 drivers/gpu/drm/drm_atomic_helper.c:1417
 vkms_atomic_commit_tail+0x50/0x200 drivers/gpu/drm/vkms/vkms_drv.c:71
 commit_tail+0x2a9/0x3c0 drivers/gpu/drm/drm_atomic_helper.c:1832
 drm_atomic_helper_commit+0x953/0x9f0 drivers/gpu/drm/drm_atomic_helper.c:2072
 drm_atomic_commit+0x2ac/0x310 drivers/gpu/drm/drm_atomic.c:1514
 drm_client_modeset_commit_atomic+0x676/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1051
 drm_client_modeset_commit_locked+0xe0/0x520 drivers/gpu/drm/drm_client_modeset.c:1154
 drm_client_modeset_commit+0x4a/0x70 drivers/gpu/drm/drm_client_modeset.c:1180
 __drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:251 [inline]
 drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:278 [inline]
 drm_fb_helper_lastclose+0xbb/0x180 drivers/gpu/drm/drm_fb_helper.c:2005
 drm_fbdev_generic_client_restore+0x34/0x40 drivers/gpu/drm/drm_fbdev_generic.c:258
 drm_client_dev_restore+0x132/0x270 drivers/gpu/drm/drm_client.c:247
 drm_lastclose drivers/gpu/drm/drm_file.c:406 [inline]
 drm_release+0x47c/0x560 drivers/gpu/drm/drm_file.c:437
 __fput+0x429/0x8a0 fs/file_table.c:422
 __do_sys_close fs/open.c:1556 [inline]
 __se_sys_close fs/open.c:1541 [inline]
 __x64_sys_close+0x7f/0x110 fs/open.c:1541
 do_syscall_64+0xfb/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fcb3af86200
Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d c1 9e 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c
RSP: 002b:00007fcb3b117d68 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fcb3af86200
RDX: 0000000020000400 RSI: 00000000c06864a2 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fcb3b117d8c
R13: 00007fcb3b117da0 R14: 00007fcb3b117de0 R15: 0000000000000001
 </TASK>

Crashes (247):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/15 12:04 upstream 480e035fc4c7 d615901c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/02 00:13 upstream 6764c317b6bb 81024119 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/04/19 14:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/03/15 14:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 d615901c .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/26 09:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/03 10:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 41bccc98fb79 60bf9982 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/03/28 02:09 upstream fe46a7dd189e 454571b6 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2024/03/21 05:06 upstream fe46a7dd189e 5b7d42ae .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/01/17 04:01 upstream 052d534373b7 2a7bcc7f .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/07/19 07:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 022df2bb .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/04/13 07:25 upstream fe46a7dd189e c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/04/11 05:48 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/10 08:56 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/09 23:21 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/09 21:08 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/09 03:31 upstream 480e035fc4c7 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/07 23:08 upstream 480e035fc4c7 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/04/05 23:33 upstream 480e035fc4c7 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/03/28 08:00 upstream 480e035fc4c7 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/03/22 15:55 upstream fe46a7dd189e 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2024/03/14 17:07 upstream 480e035fc4c7 f919f202 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/03/08 18:30 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/03/03 15:59 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/03/03 13:53 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/03/01 16:25 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/24 07:45 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2024/02/20 04:35 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/18 20:12 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vkms_get_vblank_timestamp
2024/02/17 21:11 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/14 17:54 upstream 7e90b5c295ec 6a8ec742 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/14 12:57 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in vkms_get_vblank_timestamp
2024/02/14 11:40 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/13 03:08 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/12 13:12 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/12 11:50 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/09 07:05 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/09 01:07 upstream 047371968ffc 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/04 13:41 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2023/12/12 14:55 upstream 26aff849438c ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in vkms_get_vblank_timestamp
2024/03/28 12:19 upstream fe46a7dd189e 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/03/27 16:03 upstream fe46a7dd189e 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/03/24 05:18 upstream fe46a7dd189e 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/03/05 20:46 upstream 90d35da658da f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/02/24 09:00 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/02/18 01:58 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/02/16 02:45 upstream 4f5e5092fdbf d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in vkms_get_vblank_timestamp
2024/03/20 22:19 upstream a4145ce1e7bc 5b7d42ae .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in vkms_get_vblank_timestamp
2024/03/06 05:08 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in vkms_get_vblank_timestamp
2024/03/01 04:04 upstream 87adedeba51a 352ab904 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in vkms_get_vblank_timestamp
2024/04/05 02:33 upstream c88b9b4cde17 0ee3535e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in vkms_get_vblank_timestamp
2024/03/28 20:46 upstream 8d025e2092e2 ceaf7ddd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2024/03/27 22:06 upstream 962490525cff 120789fd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in vkms_get_vblank_timestamp
2024/03/11 02:34 upstream 137e0ec05aeb 6ee49f2e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2024/03/04 19:08 upstream 90d35da658da 0f110c12 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in vkms_get_vblank_timestamp
2024/02/26 18:24 upstream d206a76d7d27 23536c23 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in vkms_get_vblank_timestamp
2024/02/26 03:41 upstream 70ff1fe626a1 8d446f15 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/08 22:09 upstream 047371968ffc e8e30238 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in vkms_get_vblank_timestamp
2023/06/11 04:53 upstream 022ce8862dff 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in vkms_get_vblank_timestamp
2024/02/13 16:36 linux-next 46d4e2eb58e1 e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/13 11:41 linux-next 46d4e2eb58e1 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/02/07 02:28 linux-next 23e11d031852 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vkms_get_vblank_timestamp
2024/04/15 12:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/04/07 20:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/03/17 02:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/27 10:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/25 13:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2024/02/10 20:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f735966ee23c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vkms_get_vblank_timestamp
2023/06/09 03:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 908f31f2a05b 7086cdb9 .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.