------------[ cut here ]------------
WARNING: CPU: 1 PID: 2922 at net/xfrm/xfrm_state.c:2997 xfrm_state_fini+0x25c/0x2b0 net/xfrm/xfrm_state.c:2997
Modules linked in:
CPU: 1 PID: 2922 Comm: kworker/u4:9 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: netns cleanup_net
RIP: 0010:xfrm_state_fini+0x25c/0x2b0 net/xfrm/xfrm_state.c:2997
Code: 5c 41 5d 41 5e 41 5f 5d e9 81 20 00 00 e8 4c ed 66 f8 0f 0b e9 2c fe ff ff e8 40 ed 66 f8 0f 0b e9 91 fe ff ff e8 34 ed 66 f8 <0f> 0b 43 80 3c 2c 00 0f 85 fa fe ff ff e9 fd fe ff ff e8 1d ed 66
RSP: 0018:ffffc9000c1d7a98 EFLAGS: 00010293
RAX: ffffffff891ea26c RBX: ffff888023b33a80 RCX: ffff88802b37bc00
RDX: 0000000000000000 RSI: ffffffff8aaaba20 RDI: ffffffff8afc7040
RBP: 0000000000000040 R08: ffffffff90da550f R09: 1ffffffff21b4aa1
R10: dffffc0000000000 R11: fffffbfff21b4aa2 R12: 1ffff110047669c4
R13: dffffc0000000000 R14: ffff888023b34e20 R15: ffff888060a75000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555588459808 CR3: 000000000cb30000 CR4: 00000000003506e0
Call Trace:
<TASK>
xfrm_net_exit+0x25/0x60 net/xfrm/xfrm_policy.c:4276
ops_exit_list net/core/net_namespace.c:173 [inline]
cleanup_net+0x6f4/0xb90 net/core/net_namespace.c:652
process_one_work kernel/workqueue.c:2634 [inline]
process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>