------------[ cut here ]------------ WARNING: CPU: 1 PID: 2973 at net/xfrm/xfrm_state.c:2358 xfrm_state_fini+0x1e4/0x250 net/xfrm/xfrm_state.c:2358 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 2973 Comm: kworker/u4:6 Not tainted 4.14.74+ #17 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 panic+0x1bf/0x3a4 kernel/panic.c:181 __warn.cold.7+0x148/0x185 kernel/panic.c:542 report_bug+0x1f7/0x26c lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1ba/0x2c0 arch/x86/kernel/traps.c:295 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:944 RIP: 0010:xfrm_state_fini+0x1e4/0x250 net/xfrm/xfrm_state.c:2358 RSP: 0018:ffff8801c5007bc0 EFLAGS: 00010297 RAX: ffff8801da33af00 RBX: ffff8801cd9e8000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8801da33b780 RDI: ffff8801da33b72c RBP: ffff8801cd9e9740 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c5007ce8 R13: ffffffff939f8318 R14: dffffc0000000000 R15: fffffbfff273f063 ops_exit_list.isra.3+0xa8/0x150 net/core/net_namespace.c:142 cleanup_net+0x3e9/0x880 net/core/net_namespace.c:483 process_one_work+0x86e/0x15c0 kernel/workqueue.c:2114 worker_thread+0xdc/0x1000 kernel/workqueue.c:2248 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Kernel Offset: 0x10200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Rebooting in 86400 seconds..