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: 0 PID: 11003 Comm: kworker/u4:2 Not tainted 5.2.0-rc1+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:perf_tp_event_match kernel/events/core.c:8532 [inline] RIP: 0010:perf_tp_event+0x1e9/0x850 kernel/events/core.c:8583 Code: 85 db 0f 84 dd 00 00 00 e8 b4 df e7 ff 48 83 eb 60 0f 84 ce 00 00 00 e8 a5 df 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:ffff888068f37100 EFLAGS: 00010007 RAX: 000000002000002d RBX: 00000000ffffff9e RCX: ffffffff8188c461 RDX: 0000000000000000 RSI: ffffffff8188c4cb RDI: 000000010000016e RBP: ffff888068f373f0 R08: ffff88809ca2c340 R09: ffff8880ae800000 R10: ffff888068f37418 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffe8ffffcb0620 R14: 00000000000000df R15: 0000000000000044 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49ff299000 CR3: 00000000a8cb0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_trace_run_bpf_submit+0x131/0x190 kernel/events/core.c:8558 perf_trace_sched_switch+0x625/0x960 include/trace/events/sched.h:138 trace_sched_switch include/trace/events/sched.h:138 [inline] __schedule+0xa7b/0x1560 kernel/sched/core.c:3441 preempt_schedule_common+0x4f/0xe0 kernel/sched/core.c:3589 preempt_schedule+0x4b/0x60 kernel/sched/core.c:3615 ___preempt_schedule+0x16/0x18 __local_bh_enable_ip+0x21d/0x270 kernel/softirq.c:197 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2018 [inline] nf_ct_iterate_cleanup+0x217/0x4e0 net/netfilter/nf_conntrack_core.c:2041 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2126 [inline] nf_ct_iterate_cleanup_net+0x133/0x190 net/netfilter/nf_conntrack_core.c:2111 masq_device_event+0xb5/0xe0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain+0xc2/0x230 kernel/notifier.c:94 __raw_notifier_call_chain kernel/notifier.c:395 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:402 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1753 call_netdevice_notifiers_extack net/core/dev.c:1765 [inline] call_netdevice_notifiers net/core/dev.c:1779 [inline] dev_close_many+0x33f/0x6f0 net/core/dev.c:1522 rollback_registered_many+0x43b/0xfc0 net/core/dev.c:8193 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9324 unregister_netdevice_many+0x3b/0x50 net/core/dev.c:9323 ip6gre_exit_batch_net+0x535/0x750 net/ipv6/ip6_gre.c:1608 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:156 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:552 process_one_work+0x989/0x1790 kernel/workqueue.c:2268 worker_thread+0x98/0xe40 kernel/workqueue.c:2414 kthread+0x354/0x420 kernel/kthread.c:254 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ======================================================