audit: type=1400 audit(1585212667.818:36): avc: denied { map } for pid=8119 comm="syz-executor794" path="/root/syz-executor794162317" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 hid-generic 0000:0000:0000.0001: ignoring exceeding usage max hid-generic 0000:0000:0000.0001: hidraw0: HID v0.00 Device [syz1] on sz1 INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 8119 Comm: syz-executor794 Not tainted 4.19.113-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+0x188/0x20d lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:727 [inline] register_lock_class+0x14d0/0x16f0 kernel/locking/lockdep.c:753 __lock_acquire+0x154/0x49c0 kernel/locking/lockdep.c:3299 lock_acquire+0x170/0x400 kernel/locking/lockdep.c:3903 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:152 __wake_up_common_lock+0xb0/0x170 kernel/sched/wait.c:120 uhid_dev_destroy+0x6f/0x100 drivers/hid/uhid.c:566 uhid_char_release+0x4e/0xb0 drivers/hid/uhid.c:645 __fput+0x2cd/0x890 fs/file_table.c:278 task_work_run+0x13f/0x1b0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbcd/0x2f30 kernel/exit.c:880 do_group_exit+0x125/0x350 kernel/exit.c:983 __do_sys_exit_group kernel/exit.c:994 [inline] __se_sys_exit_group kernel/exit.c:992 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:992 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x43eec8 Code: Bad RIP value. RSP: 002b:00007ffff93b5158 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eec8 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004bf9c8 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000000000401af0 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 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: 8119 Comm: syz-executor794 Not tainted 4.19.113-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0xdf/0x640 kernel/sched/wait.c:85 Code: 05 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 3b 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffff88808e00fb68 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88807a0e9848 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff11f89f8 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff88808e00fc08 R10: ffffed100f41d309 R11: ffff88807a0e984b R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043ee9e CR3: 0000000008a6d000 CR4: 00000000001406e0 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+0x6f/0x100 drivers/hid/uhid.c:566 uhid_char_release+0x4e/0xb0 drivers/hid/uhid.c:645 __fput+0x2cd/0x890 fs/file_table.c:278 task_work_run+0x13f/0x1b0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbcd/0x2f30 kernel/exit.c:880 do_group_exit+0x125/0x350 kernel/exit.c:983 __do_sys_exit_group kernel/exit.c:994 [inline] __se_sys_exit_group kernel/exit.c:992 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:992 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x43eec8 Code: Bad RIP value. RSP: 002b:00007ffff93b5158 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eec8 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004bf9c8 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 0000000000401af0 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace bc5c9062c02e3fda ]--- RIP: 0010:__wake_up_common+0xdf/0x640 kernel/sched/wait.c:85 Code: 05 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 3b 05 00 00 49 8b 40 18 89 54 24 10 31 db 48 bd RSP: 0018:ffff88808e00fb68 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff88807a0e9848 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 1ffffffff11f89f8 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff88808e00fc08 R10: ffffed100f41d309 R11: ffff88807a0e984b R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043ee9e CR3: 0000000008a6d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400