------------[ cut here ]------------ WARNING: CPU: 0 PID: 62 at net/xfrm/xfrm_state.c:3306 xfrm_state_fini+0x289/0x310 net/xfrm/xfrm_state.c:3306 Modules linked in: CPU: 0 UID: 0 PID: 62 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: netns cleanup_net RIP: 0010:xfrm_state_fini+0x289/0x310 net/xfrm/xfrm_state.c:3306 Code: bd f7 90 0f 0b 90 e9 e7 fe ff ff e8 01 93 bd f7 90 0f 0b 90 e9 39 ff ff ff e8 f3 92 bd f7 90 0f 0b 90 eb 8a e8 e8 92 bd f7 90 <0f> 0b 90 e9 d5 fd ff ff e8 6a 14 25 f8 e9 f8 fd ff ff e8 90 14 25 RSP: 0018:ffffc9000212fa90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880770f0000 RCX: fffff52000425f23 RDX: ffff88801d720000 RSI: ffffffff89fed158 RDI: ffff88801d720484 RBP: ffff8880770f14c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc9000212fbd8 R13: dffffc0000000000 R14: fffffbfff20582d0 R15: ffffffff902c1660 FS: 0000000000000000(0000) GS:ffff8881249e0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000017030 CR3: 0000000057c71000 CR4: 0000000000350ef0 Call Trace: xfrm_net_exit+0x2d/0x70 net/xfrm/xfrm_policy.c:4354 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x2ee/0xab0 net/core/net_namespace.c:252 cleanup_net+0x41b/0x8b0 net/core/net_namespace.c:695 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245