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 Modules linked in: CPU: 1 PID: 9453 Comm: kworker/u4:4 Not tainted 4.9.146+ #83 Workqueue: netns cleanup_net task: ffff8801c6ef4740 task.stack: ffff8801d7b18000 RIP: 0010:[] [] get_work_pool+0xf6/0x1d0 kernel/workqueue.c:716 RSP: 0018:ffff8801d7b1f8f8 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000001ffffffe00 RCX: ffffed0038dde9fd RDX: 00000003ffffffc0 RSI: ffffffff81125dde RDI: 0000000000000046 RBP: ffff8801d7b1f910 R08: ffff8801c6ef4ff0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8801aba172b0 R13: ffff8801aba15b80 R14: ffff8801aba172d0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31523000 CR3: 00000001c8de1000 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: dffffc0000000000 ffff8801aba172b0 ffff8801aba15b80 ffff8801d7b1fa50 ffffffff8112c95c ffffffff8112c880 ffff8801d7b1f948 1ffff1003af63f29 ffff8801d3d59708 0000000000000001 0000000041b58ab3 ffffffff82e2b6b4 Call Trace: [] start_flush_work kernel/workqueue.c:2785 [inline] [] flush_work+0xdc/0x6c0 kernel/workqueue.c:2845 [] xfrm_policy_fini+0x2c/0x2f0 net/xfrm/xfrm_policy.c:3051 [] xfrm_net_exit+0x25/0x30 net/xfrm/xfrm_policy.c:3118 [] ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:136 [] cleanup_net+0x3f2/0x8b0 net/core/net_namespace.c:473 [] process_one_work+0x831/0x15f0 kernel/workqueue.c:2092 [] worker_thread+0xd6/0x1140 kernel/workqueue.c:2226 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Code: f1 5d 1f 00 48 89 d8 5b 41 5c 41 5d 5d c3 e8 e2 5d 1f 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 bc 00 00 00 48 8b 1b e8 b8 5d 1f 00 48 89 d8 RIP [] get_work_pool+0xf6/0x1d0 kernel/workqueue.c:716 RSP ---[ end trace b18e1d59379a215b ]---