INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 537 Comm: syz-executor3 Not tainted 5.0.0-rc3-next-20190124 #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1db/0x2d0 lib/dump_stack.c:113 assign_lock_key kernel/locking/lockdep.c:732 [inline] register_lock_class+0x19dc/0x1e60 kernel/locking/lockdep.c:758 __lock_acquire+0x149/0x4a10 kernel/locking/lockdep.c:3207 lock_acquire+0x1db/0x570 kernel/locking/lockdep.c:3845 __flush_work+0x787/0xa20 kernel/workqueue.c:2912 flush_work+0x18/0x20 kernel/workqueue.c:2938 vkms_atomic_crtc_destroy_state drivers/gpu/drm/vkms/vkms_crtc.c:139 [inline] vkms_atomic_crtc_destroy_state+0x2d/0x40 drivers/gpu/drm/vkms/vkms_crtc.c:131 drm_atomic_state_default_clear+0x37c/0xd70 drivers/gpu/drm/drm_atomic.c:171 drm_atomic_state_clear+0x9d/0xc0 drivers/gpu/drm/drm_atomic.c:240 __drm_atomic_state_free+0x3c/0xf0 drivers/gpu/drm/drm_atomic.c:256 kref_put include/linux/kref.h:67 [inline] drm_atomic_state_put include/drm/drm_atomic.h:419 [inline] drm_atomic_helper_set_config+0xe5/0x160 drivers/gpu/drm/drm_atomic_helper.c:2947 drm_mode_setcrtc+0x73c/0x1870 drivers/gpu/drm/drm_crtc.c:707 drm_ioctl_kernel+0x278/0x340 drivers/gpu/drm/drm_ioctl.c:758 drm_ioctl+0x592/0xb50 drivers/gpu/drm/drm_ioctl.c:858 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696 ksys_ioctl+0xab/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+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd9363cfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458099 RDX: 0000000020000080 RSI: 00000000c06864a2 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd9363d06d4 R13: 00000000004bfdd5 R14: 00000000004d1740 R15: 00000000ffffffff