------------[ cut here ]------------ WARNING: CPU: 1 PID: 8611 at net/xfrm/xfrm_policy.c:4068 xfrm_policy_fini+0x32e/0x420 net/xfrm/xfrm_policy.c:4068 Modules linked in: CPU: 1 PID: 8611 Comm: kworker/u4:7 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:xfrm_policy_fini+0x32e/0x420 net/xfrm/xfrm_policy.c:4068 Code: 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 00 0f 85 d9 00 00 00 48 8b ab 50 11 00 00 e9 c6 fe ff ff e8 92 70 aa f9 <0f> 0b e9 3a fd ff ff e8 a6 eb f0 f9 e9 51 fe ff ff 48 89 ef e8 a9 RSP: 0018:ffffc9001718fbe0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803133b480 RCX: 0000000000000000 RDX: ffff888036a75700 RSI: ffffffff87cd537e RDI: 0000000000000000 RBP: ffff88803133c5c0 R08: 0000000000000001 R09: ffffffff8fd3ba0f R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8d27cf20 R13: ffffc9001718fca8 R14: dffffc0000000000 R15: fffffbfff1a4f9e8 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd36b728000 CR3: 000000007b929000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: xfrm_net_exit+0x19/0x60 net/xfrm/xfrm_policy.c:4129 ops_exit_list+0xb0/0x160 net/core/net_namespace.c:168 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295