bisecting cause commit starting from 3601fe43e8164f67a8de3de8e988bfcb3a94af46 building syzkaller on 12365b99ce83b8a58433eaedbe412dff563ef8fb testing commit 3601fe43e8164f67a8de3de8e988bfcb3a94af46 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_vblank_simulate testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 3601fe43e8164f67a8de3de8e988bfcb3a94af46 v5.0 Bisecting: 4305 revisions left to test after this (roughly 12 steps) [6ad63dec9c2c80710896edd1996e56c54a230870] Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 6ad63dec9c2c80710896edd1996e56c54a230870 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 6ad63dec9c2c80710896edd1996e56c54a230870 Bisecting: 2142 revisions left to test after this (roughly 11 steps) [9e1fd794cb6bf813a40849a1fc236703bdcbc1a7] Merge tag 'xfs-5.1-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit 9e1fd794cb6bf813a40849a1fc236703bdcbc1a7 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 9e1fd794cb6bf813a40849a1fc236703bdcbc1a7 Bisecting: 1084 revisions left to test after this (roughly 10 steps) [71f4e45a4ed3807aaed0d1ab3ef472a121753546] Merge branch 'linux-5.1' of git://github.com/skeggsb/linux into drm-next testing commit 71f4e45a4ed3807aaed0d1ab3ef472a121753546 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_vblank_simulate # git bisect bad 71f4e45a4ed3807aaed0d1ab3ef472a121753546 Bisecting: 529 revisions left to test after this (roughly 9 steps) [7360c9f6b857e22a48e545f4e99c79630994e932] drm/i915: Enable fastboot by default on VLV and CHV testing commit 7360c9f6b857e22a48e545f4e99c79630994e932 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 7360c9f6b857e22a48e545f4e99c79630994e932 Bisecting: 272 revisions left to test after this (roughly 8 steps) [0461221316ec21e0a535a35fba3feb6ba75706e6] drm/amd/display: Check hpd_gpio for NULL before accessing it testing commit 0461221316ec21e0a535a35fba3feb6ba75706e6 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 0461221316ec21e0a535a35fba3feb6ba75706e6 Bisecting: 138 revisions left to test after this (roughly 7 steps) [38f070eb125a9253ec1acd641e7159555f57132a] Merge tag 'drm/tegra/for-5.1-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next testing commit 38f070eb125a9253ec1acd641e7159555f57132a with gcc (GCC) 8.1.0 all runs: OK # git bisect good 38f070eb125a9253ec1acd641e7159555f57132a Bisecting: 63 revisions left to test after this (roughly 6 steps) [d588100baa28dae6a5c32d02bfe744d0792ed2ad] Merge drm/drm-next into drm-misc-next testing commit d588100baa28dae6a5c32d02bfe744d0792ed2ad with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_vblank_simulate # git bisect bad d588100baa28dae6a5c32d02bfe744d0792ed2ad Bisecting: 37 revisions left to test after this (roughly 5 steps) [c09d39166d8a3f3788680b32dbb0a40a70de32e2] drm/i915: Update DRIVER_DATE to 20190207 testing commit c09d39166d8a3f3788680b32dbb0a40a70de32e2 with gcc (GCC) 8.1.0 all runs: OK # git bisect good c09d39166d8a3f3788680b32dbb0a40a70de32e2 Bisecting: 18 revisions left to test after this (roughly 4 steps) [bb3b6fcb68496e405057456ef1453ce963afba14] sun6i: dsi: Convert to generic phy handling testing commit bb3b6fcb68496e405057456ef1453ce963afba14 with gcc (GCC) 8.1.0 all runs: OK # git bisect good bb3b6fcb68496e405057456ef1453ce963afba14 Bisecting: 9 revisions left to test after this (roughly 3 steps) [d713e330963522ffa406b61ae4478daa69def2d6] drm: prepare for drmP.h removal from drm_modeset_helper.h testing commit d713e330963522ffa406b61ae4478daa69def2d6 with gcc (GCC) 8.1.0 all runs: OK # git bisect good d713e330963522ffa406b61ae4478daa69def2d6 Bisecting: 4 revisions left to test after this (roughly 2 steps) [09ef09b4ab95dc405ad4171ec2cd8a4ff5227108] drm/vkms: WARN when hrtimer_forward_now fails testing commit 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_vblank_simulate # git bisect bad 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 Bisecting: 2 revisions left to test after this (roughly 1 step) [1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a] drm/sun4i: dsi: Fix unitialized variable warning testing commit 1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a with gcc (GCC) 8.1.0 all runs: OK # git bisect good 1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a Bisecting: 0 revisions left to test after this (roughly 1 step) [05bad2357afcb9f89804f04f0ae5ac58ae898ec5] drm/dsc: Add kernel documentation for DRM DP DSC helpers testing commit 05bad2357afcb9f89804f04f0ae5ac58ae898ec5 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 05bad2357afcb9f89804f04f0ae5ac58ae898ec5 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 is the first bad commit commit 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 Author: Shayenne Moura Date: Wed Feb 6 18:08:13 2019 -0200 drm/vkms: WARN when hrtimer_forward_now fails Add a warn to verify the hrtimer_forward_now return and changes ret_overrun from int to u64 to match the return value provided by hrtimer_forward_now. Signed-off-by: Shayenne Moura Signed-off-by: Rodrigo Siqueira Link: https://patchwork.freedesktop.org/patch/msgid/20190206200813.d5w7gjpepoeeadiy@smtp.gmail.com :040000 040000 c97a84797db1cacc1cdcbc08beb261758e1a49da f61f4961929b0180f083afc4a5f22428698fe4ea M drivers revisions tested: 15, total time: 3h23m38.011382697s (build: 1h18m29.638810335s, test: 2h2m5.961643654s) first bad commit: 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 drm/vkms: WARN when hrtimer_forward_now fails cc: ["airlied@linux.ie" "daniel@ffwll.ch" "dri-devel@lists.freedesktop.org" "hamohammed.sa@gmail.com" "linux-kernel@vger.kernel.org" "maarten.lankhorst@linux.intel.com" "mahesh1.kumar@intel.com" "rodrigosiqueiramelo@gmail.com" "seanpaul@chromium.org" "shayenneluzmoura@gmail.com"] crash: WARNING in vkms_vblank_simulate IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [drm:drm_calc_timestamping_constants] *ERROR* crtc 31: Can't calculate constants, dotclock = 0! WARNING: CPU: 0 PID: 7296 at drivers/gpu/drm/vkms/vkms_crtc.c:46 vkms_vblank_simulate+0x261/0x2c0 drivers/gpu/drm/vkms/vkms_crtc.c:46 IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7296 Comm: syz-executor.3 Not tainted 5.0.0-rc1+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x16e/0x1f6 lib/dump_stack.c:113 panic+0x2ad/0x632 kernel/panic.c:214 __warn.cold.8+0x20/0x54 kernel/panic.c:571 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:vkms_vblank_simulate+0x261/0x2c0 drivers/gpu/drm/vkms/vkms_crtc.c:46 Code: c7 e0 36 bc 87 e8 af e7 bb ff e9 2c fe ff ff e8 25 bc 9e fd 48 8b 45 d0 49 89 84 24 40 02 00 00 e9 78 ff ff ff e8 0f bc 9e fd <0f> 0b e9 f1 fe ff ff e8 93 71 d5 fd e9 32 fe ff ff e8 e9 71 d5 fd RSP: 0018:ffff88802d807dc8 EFLAGS: 00010006 RAX: ffff88807d310000 RBX: 00000000000340f0 RCX: ffffffff83d0ffef RDX: 0000000000010000 RSI: ffffffff83d10101 RDI: 0000000000000007 RBP: ffff88802d807df8 R08: ffff88807d310000 R09: 0000000000000006 R10: fffffbfff1330001 R11: 0000000000000001 R12: ffff88802d825dc0 R13: 0000000000000000 R14: ffff88807df81a40 R15: 0000000000000000 __run_hrtimer kernel/time/hrtimer.c:1389 [inline] __hrtimer_run_queues+0x39f/0xe70 kernel/time/hrtimer.c:1451 IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready hrtimer_interrupt+0x313/0x780 kernel/time/hrtimer.c:1509 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline] smp_apic_timer_interrupt+0x120/0x550 arch/x86/kernel/apic/apic.c:1060 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:766 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xaf/0xd0 kernel/locking/spinlock.c:184 IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready Code: 70 7b 92 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 28 48 83 3d 58 48 8f 01 00 74 15 48 89 df 57 9d <0f> 1f 44 00 00 eb ad e8 72 34 fd f9 eb bb 0f 0b 0f 0b e8 ca 3f a3 RSP: 0018:ffff88807497f8f8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 0000000000000286 RCX: 0000000000000000 RDX: 1ffffffff1124f6e RSI: 0000000000000001 RDI: 0000000000000286 RBP: ffff88807497f908 R08: ffff88807d310000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88807df804b0 IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready R13: 0000000000000000 R14: ffff88807df804b0 R15: 0000000000000000 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline] drm_vblank_get+0x150/0x1e0 drivers/gpu/drm/drm_vblank.c:1006 drm_wait_vblank_ioctl+0x4e1/0x1730 drivers/gpu/drm/drm_vblank.c:1627 drm_ioctl_kernel+0x235/0x2e0 drivers/gpu/drm/drm_ioctl.c:758 drm_ioctl+0x542/0xa80 drivers/gpu/drm/drm_ioctl.c:858 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1e1/0x1370 fs/ioctl.c:696 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x103/0x600 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457799 Code: 8d b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 5b b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc1edaa8c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 0000000000457799 RDX: 0000000020000080 RSI: 00000000c018643a RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000006e54d0 R14: 00000000004a6f80 R15: 00007fc1edaa96d4 Kernel Offset: disabled Rebooting in 86400 seconds..