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 NOPTI Modules linked in: CPU: 0 PID: 2373 Comm: kworker/u4:6 Not tainted 4.14.96+ #20 Workqueue: netns cleanup_net task: ffff8881a2f80000 task.stack: ffff8881a2f88000 RIP: 0010:get_work_pool+0x9f/0x140 kernel/workqueue.c:718 RSP: 0018:ffff8881a2f8fa28 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000001ffffffe00 RCX: 0000000000000000 RDX: 00000003ffffffc0 RSI: 00000000ffffffff RDI: 0000000000000046 RBP: ffff8881a2f8fba0 R08: 0000000000000001 R09: 0000000000000003 R10: ffff8881a2f808a8 R11: 0000000000000001 R12: ffff8881c9c5b5d0 R13: 1ffff110345f1f4b R14: dffffc0000000000 R15: ffff8881c9c5b5b0 FS: 0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff180f0f50 CR3: 0000000161826004 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: start_flush_work kernel/workqueue.c:2819 [inline] flush_work+0xff/0x710 kernel/workqueue.c:2884 xfrm_policy_fini+0x29/0x260 net/xfrm/xfrm_policy.c:3005 xfrm_net_exit+0x19/0x30 net/xfrm/xfrm_policy.c:3066 ops_exit_list.isra.0+0xa8/0x150 net/core/net_namespace.c:142 cleanup_net+0x3ce/0x860 net/core/net_namespace.c:483 process_one_work+0x7c6/0x14e0 kernel/workqueue.c:2114 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2248 kthread+0x310/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Code: 89 c4 e8 b5 58 1e 00 4c 89 e0 5b 41 5c c3 e8 a9 58 1e 00 48 81 e3 00 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 84 00 00 00 4c 8b 23 e8 7f 58 1e 00 5b 4c 89 RIP: get_work_pool+0x9f/0x140 kernel/workqueue.c:718 RSP: ffff8881a2f8fa28 ---[ end trace c51f114176b3c509 ]---