hid-generic 0000:0000:0000.0071: hidraw0: HID v0.00 Device [syz1] on 1 hid-generic 0000:0000:0000.0072: hidraw0: HID v0.00 Device [syz1] on 1 INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 500 Comm: syz-executor.1 Not tainted 4.19.137-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+0x1fc/0x2fe lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:727 [inline] register_lock_class+0xe76/0x11c0 kernel/locking/lockdep.c:753 __lock_acquire+0x17d/0x3ff0 kernel/locking/lockdep.c:3303 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:152 __wake_up_common_lock+0xb0/0x170 kernel/sched/wait.c:120 uhid_dev_destroy drivers/hid/uhid.c:566 [inline] uhid_char_release+0x9b/0x190 drivers/hid/uhid.c:645 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4167f1 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:00007ffdb1dd8c30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004167f1 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000792070 R09: 0000000000000000 R10: 00007ffdb1dd8d10 R11: 0000000000000293 R12: 0000000000792078 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000078bf0c kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 500 Comm: syz-executor.1 Not tainted 4.19.137-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:85 Code: 05 00 00 4c 8b 43 38 49 83 e8 18 49 8d 78 18 48 3b 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 3e 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffff88802cdf7cc8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88802d94a508 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff1238d04 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff88802cdf7d68 R10: ffff88802d94a50b R11: ffffffff8ad3605b R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000002c15940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f41efc8c50 CR3: 00000000a440b000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock+0xcd/0x170 kernel/sched/wait.c:121 uhid_dev_destroy drivers/hid/uhid.c:566 [inline] uhid_char_release+0x9b/0x190 drivers/hid/uhid.c:645 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4167f1 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:00007ffdb1dd8c30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004167f1 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000792070 R09: 0000000000000000 R10: 00007ffdb1dd8d10 R11: 0000000000000293 R12: 0000000000792078 R13: 0000000000000000 R14: ffffffffffffffff R15: 000000000078bf0c Modules linked in: ---[ end trace 5e54f1b7f7a89a74 ]--- RIP: 0010:__wake_up_common+0xdf/0x650 kernel/sched/wait.c:85 Code: 05 00 00 4c 8b 43 38 49 83 e8 18 49 8d 78 18 48 3b 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 3e 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffff88802cdf7cc8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88802d94a508 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff1238d04 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff88802cdf7d68 R10: ffff88802d94a50b R11: ffffffff8ad3605b R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000002c15940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f41efc8c50 CR3: 00000000a440b000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400