INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 13645 Comm: syz-executor.3 Not tainted 5.8.0-rc6-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+0xb3/0xec lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:894 [inline] register_lock_class+0x575/0x580 kernel/locking/lockdep.c:1206 __lock_acquire+0x75/0x16e0 kernel/locking/lockdep.c:4259 lock_acquire+0xd0/0x3f0 kernel/locking/lockdep.c:4959 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x55/0x70 kernel/locking/spinlock.c:159 __wake_up_common_lock+0x5c/0xb0 kernel/sched/wait.c:122 uhid_dev_destroy+0x2c/0x60 drivers/hid/uhid.c:563 uhid_char_release+0x1b/0x50 drivers/hid/uhid.c:642 __fput+0xf0/0x260 fs/file_table.c:281 task_work_run+0x68/0xb0 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x208/0x210 arch/x86/entry/common.c:269 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416421 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:00007ffe0627a8d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416421 RDX: 0000001b31220000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffe0627a9c0 R11: 0000000000000293 R12: 0000000000790560 R13: 000000000000ca88 R14: ffffffffffffffff R15: 000000000078bf0c BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 10c430067 P4D 10c430067 PUD 10ce07067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 13645 Comm: syz-executor.3 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0x57/0x1a0 kernel/sched/wait.c:86 Code: 00 4d 85 e4 74 0b 41 f6 04 24 04 0f 85 97 00 00 00 48 8b 43 40 48 83 c3 40 4c 8d 48 e8 49 8d 41 18 48 39 c3 0f 84 e1 00 00 00 <49> 8b 41 18 89 6c 24 08 31 ed 4c 8d 70 e8 45 8b 29 41 f6 c5 04 75 RSP: 0018:ffffc90009f8fdb8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88810e1f5438 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88810e1f53f8 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffffffffe8 R10: 0000000000000ba9 R11: 000000000003627c R12: ffffc90009f8fe00 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000025b1940(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010cfeb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock+0x75/0xb0 kernel/sched/wait.c:123 uhid_dev_destroy+0x2c/0x60 drivers/hid/uhid.c:563 uhid_char_release+0x1b/0x50 drivers/hid/uhid.c:642 __fput+0xf0/0x260 fs/file_table.c:281 task_work_run+0x68/0xb0 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x208/0x210 arch/x86/entry/common.c:269 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416421 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:00007ffe0627a8d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416421 RDX: 0000001b31220000 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffe0627a9c0 R11: 0000000000000293 R12: 0000000000790560 R13: 000000000000ca88 R14: ffffffffffffffff R15: 000000000078bf0c Modules linked in: CR2: 0000000000000000 ---[ end trace 8e9c524f526104ac ]--- RIP: 0010:__wake_up_common+0x57/0x1a0 kernel/sched/wait.c:86 Code: 00 4d 85 e4 74 0b 41 f6 04 24 04 0f 85 97 00 00 00 48 8b 43 40 48 83 c3 40 4c 8d 48 e8 49 8d 41 18 48 39 c3 0f 84 e1 00 00 00 <49> 8b 41 18 89 6c 24 08 31 ed 4c 8d 70 e8 45 8b 29 41 f6 c5 04 75 RSP: 0018:ffffc90009f8fdb8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88810e1f5438 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88810e1f53f8 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffffffffe8 R10: 0000000000000ba9 R11: 000000000003627c R12: ffffc90009f8fe00 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00000000025b1940(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010cfeb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400