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: 4876 Comm: udevd Not tainted 5.1.0-rc7+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_tp_event_match kernel/events/core.c:8522 [inline] RIP: 0010:perf_tp_event+0x1e9/0x850 kernel/events/core.c:8573 Code: 85 db 0f 84 dd 00 00 00 e8 a4 d7 e7 ff 48 83 eb 60 0f 84 ce 00 00 00 e8 95 d7 e7 ff 48 8d bb d0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e ba 05 00 00 44 8b b3 d0 01 RSP: 0018:ffff8880ae907800 EFLAGS: 00010002 RAX: 000002618065a04a RBX: 0000130c032d0082 RCX: ffffffff8188b4e1 RDX: 0000000000010000 RSI: ffffffff8188b54b RDI: 0000130c032d0252 RBP: ffff8880ae907af0 R08: ffff88809722a3c0 R09: ffff8880ae900000 R10: ffff8880ae907b38 R11: ffff8880ae90002b R12: dffffc0000000000 R13: ffff8880ae900000 R14: 00000000000000e2 R15: 000000000000002c FS: 00007fc340a627a0(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 0000000085ed1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_trace_run_bpf_submit+0x131/0x190 kernel/events/core.c:8548 perf_trace_sched_wakeup_template+0x471/0x6b0 include/trace/events/sched.h:57 trace_sched_wakeup include/trace/events/sched.h:96 [inline] ttwu_do_wakeup+0x239/0x580 kernel/sched/core.c:1702 ttwu_do_activate+0x14b/0x1f0 kernel/sched/core.c:1746 ttwu_queue kernel/sched/core.c:1890 [inline] try_to_wake_up+0x824/0x1000 kernel/sched/core.c:2100 wake_up_process+0x10/0x20 kernel/sched/core.c:2172 hrtimer_wakeup+0x48/0x60 kernel/time/hrtimer.c:1637 __run_hrtimer kernel/time/hrtimer.c:1389 [inline] __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline] smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807 RIP: 0010:compound_head include/linux/page-flags.h:175 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:688 [inline] RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:128 [inline] RIP: 0010:qlist_free_all+0xe4/0x150 mm/kasan/quarantine.c:164 Code: ff 48 89 f7 48 89 75 d0 e8 79 aa 89 ff 48 8b 75 d0 48 b9 00 00 00 00 00 ea ff ff 48 c1 e8 0c 48 c1 e0 06 48 01 c8 48 8b 50 08 <48> 8d 4a ff 83 e2 01 48 0f 45 c1 4c 8b 78 18 e9 37 ff ff ff e8 f3 RSP: 0018:ffff888095c07a98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: ffffea00022f7680 RBX: 0000000000000286 RCX: ffffea0000000000 RDX: ffffea00026ef288 RSI: ffff88808bdda180 RDI: 0000000000000007 RBP: ffff888095c07ac8 R08: ffff88809722a3c0 R09: ffffed1025fff979 R10: ffffed1025fff978 R11: ffff88812fffcbc3 R12: 0000000000000000 R13: ffff88808bdda180 R14: ffff888095c07ad8 R15: 0000000000000000 quarantine_reduce+0x169/0x1b0 mm/kasan/quarantine.c:260 __kasan_kmalloc.constprop.0+0xa3/0xe0 mm/kasan/common.c:478 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:505 slab_post_alloc_hook mm/slab.h:437 [inline] slab_alloc mm/slab.c:3393 [inline] kmem_cache_alloc_trace+0x13a/0x760 mm/slab.c:3620 kmalloc include/linux/slab.h:547 [inline] kzalloc include/linux/slab.h:742 [inline] tomoyo_find_next_domain+0xe4/0x1f8a security/tomoyo/domain.c:708 tomoyo_bprm_check_security security/tomoyo/tomoyo.c:107 [inline] tomoyo_bprm_check_security+0x12a/0x1b0 security/tomoyo/tomoyo.c:97 security_bprm_check+0x69/0xb0 security/security.c:751 search_binary_handler+0x77/0x570 fs/exec.c:1644 exec_binprm fs/exec.c:1698 [inline] __do_execve_file.isra.0+0x1394/0x23f0 fs/exec.c:1818 do_execveat_common fs/exec.c:1865 [inline] do_execve fs/exec.c:1882 [inline] __do_sys_execve fs/exec.c:1958 [inline] __se_sys_execve fs/exec.c:1953 [inline] __x64_sys_execve+0x8f/0xc0 fs/exec.c:1953 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc340146207 Code: 77 19 f4 48 89 d7 44 89 c0 0f 05 48 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 f7 d8 64 41 89 01 eb df b8 3b 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 f3 c3 48 8b 15 00 8c 2d 00 f7 d8 64 89 02 RSP: 002b:00007ffdd7ec2178 EFLAGS: 00000206 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fc340146207 RDX: 0000000001a00fe0 RSI: 00007ffdd7ec2270 RDI: 00007ffdd7ec3280 RBP: 0000000000625500 R08: 0000000000000e81 R09: 0000000000000e81 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001a00fe0 R13: 0000000000000007 R14: 00000000019f0250 R15: 0000000000000005 Modules linked in: ======================================================