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: 21 Comm: kworker/u4:1 Not tainted 5.0.0-rc6+ #70 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:get_work_pool+0xed/0x1b0 kernel/workqueue.c:716 Code: e8 b8 05 26 00 4c 89 e0 5b 41 5c 5d c3 e8 ab 05 26 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 a0 00 00 00 4c 8b 23 e8 81 05 26 00 5b 4c 89 e0 RSP: 0018:ffff8880a99efa00 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000001ffffffe00 RCX: ffffffff8149db26 RDX: 00000003ffffffc0 RSI: ffffffff8149db75 RDI: 0000000000000007 RBP: ffff8880a99efa10 R08: ffff8880a99e0580 R09: ffffed1015d25bd0 R10: ffffed1015d25bcf R11: ffff8880ae92de7b R12: 0000000000000004 R13: ffff8880a99efb60 R14: 0000000000000000 R15: ffff888083dedc90 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000fb0010 CR3: 000000004c86f000 CR4: 00000000001426e0 Call Trace: start_flush_work kernel/workqueue.c:2882 [inline] __flush_work+0x11e/0x840 kernel/workqueue.c:2939 flush_work+0x18/0x20 kernel/workqueue.c:2961 xfrm_policy_fini+0x2e/0x3a0 net/xfrm/xfrm_policy.c:3865 xfrm_net_exit+0x1d/0x70 net/xfrm/xfrm_policy.c:3931 ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:153 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:551 process_one_work+0x98e/0x1790 kernel/workqueue.c:2173 worker_thread+0x98/0xe40 kernel/workqueue.c:2319 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace bf5838274215447d ]--- RIP: 0010:get_work_pool+0xed/0x1b0 kernel/workqueue.c:716 Code: e8 b8 05 26 00 4c 89 e0 5b 41 5c 5d c3 e8 ab 05 26 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 a0 00 00 00 4c 8b 23 e8 81 05 26 00 5b 4c 89 e0 RSP: 0018:ffff8880a99efa00 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000001ffffffe00 RCX: ffffffff8149db26 RDX: 00000003ffffffc0 RSI: ffffffff8149db75 RDI: 0000000000000007 RBP: ffff8880a99efa10 R08: ffff8880a99e0580 R09: ffffed1015d25bd0 R10: ffffed1015d25bcf R11: ffff8880ae92de7b R12: 0000000000000004 R13: ffff8880a99efb60 R14: 0000000000000000 R15: ffff888083dedc90 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000fb0010 CR3: 000000004c86f000 CR4: 00000000001426e0