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: 2940 Comm: syz-executor.2 Not tainted 5.4.28-syzkaller-00757-gfc2c4ee73fe3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__wake_up_common+0x218/0x450 kernel/sched/wait.c:86 Code: 89 c5 c7 45 c0 00 00 00 00 eb 10 0f 1f 80 00 00 00 00 4d 39 e5 0f 84 e1 01 00 00 4c 89 e3 4d 8d 74 24 e8 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 1a 9b 47 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88819a51fc18 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8881d8da52a0 RBP: ffff88819a51fc70 R08: 0000000000000000 R09: ffff88819a51fcc0 R10: ffffed10334a3f7d R11: 0000000000000004 R12: 0000000000000000 R13: ffff8881d8da52a8 R14: ffffffffffffffe8 R15: ffff88819a51fcc0 FS: 00000000021ed940(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 00000001d3787002 CR4: 00000000001606e0 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+0x145/0x210 kernel/sched/wait.c:142 uhid_dev_destroy drivers/hid/uhid.c:563 [inline] uhid_char_release+0x98/0x600 drivers/hid/uhid.c:642 __fput+0x295/0x710 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:313 task_work_run+0x176/0x1a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x2d8/0x370 arch/x86/entry/common.c:194 syscall_return_slowpath+0x6f/0x500 arch/x86/entry/common.c:274 do_syscall_64+0xe8/0x100 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4163e1 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:00007ffcad2bf5e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004163e1 RDX: 0000000000000001 RSI: 00000000007704d0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 01ffffffffffffff R09: 01ffffffffffffff R10: 00007ffcad2bf6c0 R11: 0000000000000293 R12: 000000000076bfa0 R13: 00000000007715b8 R14: 000000000000f8c4 R15: 000000000076bfac Modules linked in: ---[ end trace 6b5b47be8d4f5e61 ]--- RIP: 0010:__wake_up_common+0x218/0x450 kernel/sched/wait.c:86 Code: 89 c5 c7 45 c0 00 00 00 00 eb 10 0f 1f 80 00 00 00 00 4d 39 e5 0f 84 e1 01 00 00 4c 89 e3 4d 8d 74 24 e8 4c 89 e0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 1a 9b 47 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88819a51fc18 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8881d8da52a0 RBP: ffff88819a51fc70 R08: 0000000000000000 R09: ffff88819a51fcc0 R10: ffffed10334a3f7d R11: 0000000000000004 R12: 0000000000000000 R13: ffff8881d8da52a8 R14: ffffffffffffffe8 R15: ffff88819a51fcc0 FS: 00000000021ed940(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 00000001d3787002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400