INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 12215 Comm: syz-executor313 Not tainted 5.7.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+0x1e9/0x30e lib/dump_stack.c:118 register_lock_class+0xc65/0x10d0 kernel/locking/lockdep.c:912 __lock_acquire+0x102/0x2c30 kernel/locking/lockdep.c:4234 lock_acquire+0x169/0x480 kernel/locking/lockdep.c:4934 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x9e/0xc0 kernel/locking/spinlock.c:159 __wake_up_common_lock kernel/sched/wait.c:122 [inline] __wake_up+0xb8/0x150 kernel/sched/wait.c:142 uhid_dev_destroy drivers/hid/uhid.c:563 [inline] uhid_char_release+0x99/0x600 drivers/hid/uhid.c:642 __fput+0x2ed/0x750 fs/file_table.c:280 task_work_run+0x147/0x1d0 kernel/task_work.c:123 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x5ef/0x1f80 kernel/exit.c:796 do_group_exit+0x15e/0x2c0 kernel/exit.c:894 get_signal+0x13cf/0x1d60 kernel/signal.c:2739 do_signal+0x33/0x610 arch/x86/kernel/signal.c:784 exit_to_usermode_loop arch/x86/entry/common.c:161 [inline] prepare_exit_to_usermode+0x32a/0x600 arch/x86/entry/common.c:196 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x446789 Code: Bad RIP value. RSP: 002b:00007fee4363ad98 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dbc28 RCX: 0000000000446789 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c R13: 0000000000006885 R14: 41001e88dbf9b2bb R15: 5f3efb671737f580 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: 12215 Comm: syz-executor313 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0x297/0x4d0 kernel/sched/wait.c:86 Code: fb 01 00 00 45 31 f6 eb 13 66 2e 0f 1f 84 00 00 00 00 00 4d 39 fc 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 ab 83 5b 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000ad27a00 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880961c93f8 RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc9000ad27a68 R10: fffff520015a4f40 R11: 0000000000000000 R12: ffff8880961c9438 R13: 1ffff920015a4f4d R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000044675f CR3: 0000000009279000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock kernel/sched/wait.c:123 [inline] __wake_up+0xd4/0x150 kernel/sched/wait.c:142 uhid_dev_destroy drivers/hid/uhid.c:563 [inline] uhid_char_release+0x99/0x600 drivers/hid/uhid.c:642 __fput+0x2ed/0x750 fs/file_table.c:280 task_work_run+0x147/0x1d0 kernel/task_work.c:123 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x5ef/0x1f80 kernel/exit.c:796 do_group_exit+0x15e/0x2c0 kernel/exit.c:894 get_signal+0x13cf/0x1d60 kernel/signal.c:2739 do_signal+0x33/0x610 arch/x86/kernel/signal.c:784 exit_to_usermode_loop arch/x86/entry/common.c:161 [inline] prepare_exit_to_usermode+0x32a/0x600 arch/x86/entry/common.c:196 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x446789 Code: Bad RIP value. RSP: 002b:00007fee4363ad98 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dbc28 RCX: 0000000000446789 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c R13: 0000000000006885 R14: 41001e88dbf9b2bb R15: 5f3efb671737f580 Modules linked in: ---[ end trace 1f217cdadce6cedd ]--- RIP: 0010:__wake_up_common+0x297/0x4d0 kernel/sched/wait.c:86 Code: fb 01 00 00 45 31 f6 eb 13 66 2e 0f 1f 84 00 00 00 00 00 4d 39 fc 0f 84 e3 01 00 00 4c 89 fb 49 8d 6f e8 4c 89 f8 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 ab 83 5b 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000ad27a00 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880961c93f8 RBP: ffffffffffffffe8 R08: 0000000000000000 R09: ffffc9000ad27a68 R10: fffff520015a4f40 R11: 0000000000000000 R12: ffff8880961c9438 R13: 1ffff920015a4f4d R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000044675f CR3: 0000000009279000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400