------------[ cut here ]------------ WARNING: CPU: 1 PID: 7260 at net/xfrm/xfrm_state.c:3306 xfrm_state_fini+0x26d/0x2f0 net/xfrm/xfrm_state.c:3306 Modules linked in: CPU: 1 UID: 0 PID: 7260 Comm: kworker/u8:15 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:xfrm_state_fini+0x26d/0x2f0 net/xfrm/xfrm_state.c:3306 Code: c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 8b a9 38 f8 48 8b 3b 5b 41 5c 41 5d 41 5e 41 5f 5d e9 b9 56 19 f8 e8 74 ff d3 f7 90 <0f> 0b 90 e9 fd fd ff ff e8 66 ff d3 f7 90 0f 0b 90 e9 60 fe ff ff RSP: 0018:ffffc90003e1f878 EFLAGS: 00010293 RAX: ffffffff89eb1bfc RBX: ffff888032118000 RCX: ffff88806ab59e40 RDX: 0000000000000000 RSI: ffffffff8d9c68e1 RDI: ffff88806ab59e40 RBP: ffffc90003e1f990 R08: ffffffff8f9d4c37 R09: 1ffffffff1f3a986 R10: dffffc0000000000 R11: fffffbfff1f3a987 R12: ffffffff8f5ce900 R13: 1ffff920007c3f3c R14: ffff8880321194c0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125e3b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3a7e67 CR3: 000000007288e000 CR4: 00000000003526f0 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+0x49a/0x990 net/core/net_namespace.c:252 cleanup_net+0x4d8/0x820 net/core/net_namespace.c:695 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4b9/0x870 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245