INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 18536 Comm: syz-executor.4 Not tainted 5.6.0-rc5-syzkaller #0 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+0x188/0x20d lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:880 [inline] register_lock_class+0x14c4/0x1540 kernel/locking/lockdep.c:1189 __lock_acquire+0xfc/0x3ca0 kernel/locking/lockdep.c:3836 lock_acquire+0x197/0x420 kernel/locking/lockdep.c:4484 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:159 __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:122 uhid_dev_destroy+0x6f/0x100 drivers/hid/uhid.c:563 uhid_char_release+0x4e/0xb0 drivers/hid/uhid.c:642 __fput+0x2da/0x850 fs/file_table.c:280 task_work_run+0x13f/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4163e1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000c7fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00000000004163e1 RDX: 0000000000000000 RSI: ffffffff87c046e6 RDI: 0000000000000008 RBP: 0000000000000001 R08: ffffffff8100a227 R09: 00000000d9fc9c66 R10: 0000000000c7fcd0 R11: 0000000000000293 R12: 000000000076bf00 R13: 0000000000771c38 R14: 000000000004b545 R15: 000000000076bf0c general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 18536 Comm: syz-executor.4 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0xdf/0x650 kernel/sched/wait.c:86 Code: 05 00 00 4c 8b 43 38 49 83 e8 18 49 8d 78 18 48 39 3c 24 0f 84 6a 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 3d 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffffc900032a7cb0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88804f9e93c8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff14cc07a RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffe8 R09: ffffc900032a7d48 R10: fffff52000654f90 R11: 0000000000000003 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001f4f940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 00000000a4bb8000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 uhid_dev_destroy+0x6f/0x100 drivers/hid/uhid.c:563 uhid_char_release+0x4e/0xb0 drivers/hid/uhid.c:642 __fput+0x2da/0x850 fs/file_table.c:280 task_work_run+0x13f/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4163e1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000c7fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00000000004163e1 RDX: 0000000000000000 RSI: ffffffff87c046e6 RDI: 0000000000000008 RBP: 0000000000000001 R08: ffffffff8100a227 R09: 00000000d9fc9c66 R10: 0000000000c7fcd0 R11: 0000000000000293 R12: 000000000076bf00 R13: 0000000000771c38 R14: 000000000004b545 R15: 000000000076bf0c Modules linked in: ---[ end trace 75cb224772f6d892 ]--- RIP: 0010:__wake_up_common+0xdf/0x650 kernel/sched/wait.c:86 Code: 05 00 00 4c 8b 43 38 49 83 e8 18 49 8d 78 18 48 39 3c 24 0f 84 6a 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 3d 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffffc900032a7cb0 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88804f9e93c8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff14cc07a RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffe8 R09: ffffc900032a7d48 R10: fffff52000654f90 R11: 0000000000000003 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001f4f940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 00000000a4bb8000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400