general protection fault, probably for non-canonical address 0xdffffc000000002f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000178-0x000000000000017f] CPU: 0 PID: 1740 Comm: (d-rfkill) Not tainted 5.11.0-rc5-syzkaller #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:9459 [inline] RIP: 0010:perf_tp_event+0x1d5/0xb60 kernel/events/core.c:9510 Code: 89 85 e8 fd ff ff eb 0f e8 f8 40 e3 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 e9 40 e3 ff 48 8d bb d8 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e 36 08 00 00 44 8b bb d8 01 RSP: 0018:ffffc90001ee73c0 EFLAGS: 00010002 RAX: 000000000000002f RBX: ffffffffffffffa2 RCX: 0000000000000000 RDX: ffff888040fe1bc0 RSI: ffffffff818f7b17 RDI: 000000000000017a RBP: ffffc90001ee7630 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81762dbc R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9e30a60 R14: 0000000000000001 R15: 1ffff110173c615d FS: 00007f9ce5b49500(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000052e8cc CR3: 000000003e10a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_trace_run_bpf_submit+0x11c/0x210 kernel/events/core.c:9485 perf_trace_sched_switch+0x49e/0x680 include/trace/events/sched.h:222 __traceiter_sched_switch+0x64/0xb0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x11a6/0x21a0 kernel/sched/core.c:5075 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5238 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:40 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] _raw_spin_unlock_irq+0x3c/0x40 kernel/locking/spinlock.c:199 spin_unlock_irq include/linux/spinlock.h:404 [inline] cgroup_migrate_execute+0x5ed/0x1190 kernel/cgroup/cgroup.c:2434 cgroup_attach_task+0x41f/0x790 kernel/cgroup/cgroup.c:2736 __cgroup1_procs_write.constprop.0+0x3a9/0x490 kernel/cgroup/cgroup-v1.c:519 cgroup_file_write+0x1ec/0x780 kernel/cgroup/cgroup.c:3696 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x791/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9ce411398d Code: 2d 2c 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 7e 9b 01 00 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 c7 9b 01 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffd98718200 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f9ce411398d RDX: 0000000000000005 RSI: 000055fe14fb3030 RDI: 0000000000000003 RBP: 000055fe14fb3030 R08: 000055fe14fa3aa0 R09: 00007f9ce5b49500 R10: 0000000000000060 R11: 0000000000000293 R12: 0000000000000005 R13: 0000000000000001 R14: 000055fe14fa39c0 R15: 0000000000000005 Modules linked in: ---[ end trace b3419c5b15cc955f ]--- RIP: 0010:perf_tp_event_match kernel/events/core.c:9459 [inline] RIP: 0010:perf_tp_event+0x1d5/0xb60 kernel/events/core.c:9510 Code: 89 85 e8 fd ff ff eb 0f e8 f8 40 e3 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 e9 40 e3 ff 48 8d bb d8 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e 36 08 00 00 44 8b bb d8 01 RSP: 0018:ffffc90001ee73c0 EFLAGS: 00010002 RAX: 000000000000002f RBX: ffffffffffffffa2 RCX: 0000000000000000 RDX: ffff888040fe1bc0 RSI: ffffffff818f7b17 RDI: 000000000000017a RBP: ffffc90001ee7630 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81762dbc R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9e30a60 R14: 0000000000000001 R15: 1ffff110173c615d FS: 00007f9ce5b49500(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000052e8cc CR3: 000000003e10a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600