kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4251 Comm: syz-executor.4 Not tainted 5.4.31-syzkaller-00065-g9179772db7e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_tp_event_match kernel/events/core.c:8692 [inline] RIP: 0010:perf_tp_event+0x24f/0x9c0 kernel/events/core.c:8743 Code: 02 00 00 48 8b 44 24 18 4c 8d b0 88 00 00 00 66 90 66 2e 0f 1f 84 00 00 00 00 00 49 8d 9c 24 d0 01 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 c9 01 00 00 8b 1b 89 de 83 e6 01 31 ff RSP: 0018:ffff8881c9a47340 EFLAGS: 00010007 RAX: 0000021360802039 RBX: 0000109b040101cd RCX: ffffffff81444309 RDX: ffff8881ccc18f40 RSI: 0000109b0401005d RDI: 0000000000000000 RBP: ffff8881c9a47660 R08: ffffffff81584e75 R09: ffffed10399831e9 R10: ffffed10399831e9 R11: 0000000000000000 R12: 0000109b0400fffd R13: dffffc0000000000 R14: ffff8881db92f068 R15: 000000000000002c FS: 00007f36d79b3700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b2239d1a80 CR3: 00000001d0581002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_trace_run_bpf_submit+0x124/0x1b0 kernel/events/core.c:8718 perf_trace_sched_wakeup_template+0x2f3/0x480 include/trace/events/sched.h:57 trace_sched_wakeup include/trace/events/sched.h:96 [inline] ttwu_do_wakeup+0x251/0x5b0 kernel/sched/core.c:2223 ttwu_do_activate kernel/sched/core.c:2267 [inline] ttwu_queue+0x2bd/0x480 kernel/sched/core.c:2411 try_to_wake_up+0xbc9/0xd90 kernel/sched/core.c:2645 wake_up_process kernel/sched/core.c:2669 [inline] wake_up_q+0x84/0xb0 kernel/sched/core.c:496 __mutex_unlock_slowpath+0x219/0x260 kernel/locking/mutex.c:1280 perf_try_init_event+0x305/0x3a0 kernel/events/core.c:10248 perf_init_event kernel/events/core.c:10284 [inline] perf_event_alloc+0xd3d/0x22b0 kernel/events/core.c:10554 __do_sys_perf_event_open kernel/events/core.c:11037 [inline] __se_sys_perf_event_open+0x77f/0x37c0 kernel/events/core.c:10911 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c889 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f36d79b2c78 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f36d79b36d4 RCX: 000000000045c889 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000816 R14: 00000000004cad21 R15: 0000000000000002 Modules linked in: ---[ end trace 3e5ac4d5145b48ca ]--- RIP: 0010:perf_tp_event_match kernel/events/core.c:8692 [inline] RIP: 0010:perf_tp_event+0x24f/0x9c0 kernel/events/core.c:8743 Code: 02 00 00 48 8b 44 24 18 4c 8d b0 88 00 00 00 66 90 66 2e 0f 1f 84 00 00 00 00 00 49 8d 9c 24 d0 01 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 c9 01 00 00 8b 1b 89 de 83 e6 01 31 ff RSP: 0018:ffff8881c9a47340 EFLAGS: 00010007 RAX: 0000021360802039 RBX: 0000109b040101cd RCX: ffffffff81444309 RDX: ffff8881ccc18f40 RSI: 0000109b0401005d RDI: 0000000000000000 RBP: ffff8881c9a47660 R08: ffffffff81584e75 R09: ffffed10399831e9 R10: ffffed10399831e9 R11: 0000000000000000 R12: 0000109b0400fffd R13: dffffc0000000000 R14: ffff8881db92f068 R15: 000000000000002c FS: 00007f36d79b3700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b2239d1a80 CR3: 00000001d0581002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400