INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 18078 Comm: syz-executor.0 Not tainted 5.8.0-rc2-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+0x12f/0x192 lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:894 [inline] register_lock_class+0x10b5/0x1220 kernel/locking/lockdep.c:1206 __lock_acquire+0xf8/0x3be0 kernel/locking/lockdep.c:4259 lock_acquire+0x1e3/0x930 kernel/locking/lockdep.c:4959 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x95/0xc0 kernel/locking/spinlock.c:159 __wake_up_common_lock+0xa8/0x120 kernel/sched/wait.c:122 uhid_dev_destroy+0x56/0xe0 drivers/hid/uhid.c:563 uhid_char_release+0x48/0xa0 drivers/hid/uhid.c:642 __fput+0x2a4/0x7a0 fs/file_table.c:281 task_work_run+0xc2/0x160 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x208/0x210 arch/x86/entry/common.c:246 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416421 Code: Bad RIP value. RSP: 002b:00007fff9f40d9d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416421 RDX: 0000000000000001 RSI: 0000000000790460 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fff9f40dac0 R11: 0000000000000293 R12: 0000000000790560 R13: 0000000000035d2f R14: ffffffffffffffff R15: 000000000078bfac 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: 18078 Comm: syz-executor.0 Not tainted 5.8.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0xd6/0x610 kernel/sched/wait.c:86 Code: 14 05 00 00 4c 8b 43 40 49 83 e8 18 49 8d 78 18 48 39 fd 0f 84 50 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 0b 05 00 00 49 8b 40 18 89 54 24 10 31 db 49 bd RSP: 0018:ffffc900052afd18 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff8880767693f8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888076769438 R08: ffffffffffffffe8 R09: ffffc900052afda0 R10: 0000000000000003 R11: fffff52000a55f9d R12: ffffc900052afda0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 000000000258f940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b90004 CR3: 00000000a29ee000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock+0xc3/0x120 kernel/sched/wait.c:123 uhid_dev_destroy+0x56/0xe0 drivers/hid/uhid.c:563 uhid_char_release+0x48/0xa0 drivers/hid/uhid.c:642 __fput+0x2a4/0x7a0 fs/file_table.c:281 task_work_run+0xc2/0x160 kernel/task_work.c:123 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:216 [inline] __prepare_exit_to_usermode+0x208/0x210 arch/x86/entry/common.c:246 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416421 Code: Bad RIP value. RSP: 002b:00007fff9f40d9d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416421 RDX: 0000000000000001 RSI: 0000000000790460 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fff9f40dac0 R11: 0000000000000293 R12: 0000000000790560 R13: 0000000000035d2f R14: ffffffffffffffff R15: 000000000078bfac Modules linked in: ---[ end trace fb968310dd552df7 ]--- RIP: 0010:__wake_up_common+0xd6/0x610 kernel/sched/wait.c:86 Code: 14 05 00 00 4c 8b 43 40 49 83 e8 18 49 8d 78 18 48 39 fd 0f 84 50 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 0b 05 00 00 49 8b 40 18 89 54 24 10 31 db 49 bd RSP: 0018:ffffc900052afd18 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff8880767693f8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888076769438 R08: ffffffffffffffe8 R09: ffffc900052afda0 R10: 0000000000000003 R11: fffff52000a55f9d R12: ffffc900052afda0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 000000000258f940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000b90004 CR3: 00000000a29ee000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400