hid-generic 0000:0000:0000.0030: hidraw1: HID v0.00 Device [syz1] on sz1 hid-generic 0000:0000:0000.0031: ignoring exceeding usage max hid-generic 0000:0000:0000.0031: hidraw0: HID v0.00 Device [syz1] on sz1 hid-generic 0000:0000:0000.0032: ignoring exceeding usage max hid-generic 0000:0000:0000.0033: ignoring exceeding usage max INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 6836 Comm: syz-executor069 Not tainted 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 hid-generic 0000:0000:0000.0032: hidraw1: HID v0.00 Device [syz1] on sz1 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 register_lock_class+0x2fe/0x1600 kernel/locking/lockdep.c:768 __lock_acquire+0x147/0x4620 kernel/locking/lockdep.c:3374 hid-generic 0000:0000:0000.0034: ignoring exceeding usage max hid-generic 0000:0000:0000.0034: hidraw2: HID v0.00 Device [syz1] on sz1 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3994 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:160 __wake_up_common_lock+0x9d/0x140 kernel/sched/wait.c:124 uhid_dev_destroy+0x62/0x100 drivers/hid/uhid.c:566 uhid_char_release+0x4c/0xa0 drivers/hid/uhid.c:645 __fput+0x25f/0x790 fs/file_table.c:210 task_work_run+0x113/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9f2/0x2b00 kernel/exit.c:858 do_group_exit+0x100/0x310 kernel/exit.c:955 get_signal+0x385/0x1ca0 kernel/signal.c:2423 do_signal+0x7c/0x1690 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x159/0x220 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x446819 RSP: 002b:00007f2d0116dd98 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dcc28 RCX: 0000000000446819 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dcc28 RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc2c R13: 0ceb5a0fd7bfa14e R14: 0000000000000000 R15: 000000000000db5e 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 Modules linked in: CPU: 1 PID: 6836 Comm: syz-executor069 Not tainted 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808f30e600 task.stack: ffff888090c10000 RIP: 0010:__wake_up_common+0x9e/0x5d0 kernel/sched/wait.c:90 RSP: 0018:ffff888090c178e8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88809251d0c8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff888090c17988 R10: fffffbfff14a8cd5 R11: ffff88808f30e600 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004cdd10 CR3: 0000000007c6a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common_lock+0xba/0x140 kernel/sched/wait.c:125 uhid_dev_destroy+0x62/0x100 drivers/hid/uhid.c:566 uhid_char_release+0x4c/0xa0 drivers/hid/uhid.c:645 __fput+0x25f/0x790 fs/file_table.c:210 task_work_run+0x113/0x190 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9f2/0x2b00 kernel/exit.c:858 do_group_exit+0x100/0x310 kernel/exit.c:955 get_signal+0x385/0x1ca0 kernel/signal.c:2423 do_signal+0x7c/0x1690 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x159/0x220 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x446819 RSP: 002b:00007f2d0116dd98 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dcc28 RCX: 0000000000446819 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dcc28 RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc2c R13: 0ceb5a0fd7bfa14e R14: 0000000000000000 R15: 000000000000db5e Code: bc 04 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 a1 04 00 00 49 8b 40 18 89 54 24 10 31 db 48 RIP: __wake_up_common+0x9e/0x5d0 kernel/sched/wait.c:90 RSP: ffff888090c178e8 ---[ end trace fb057cf4f69a96e2 ]---