------------[ cut here ]------------ WARNING: CPU: 1 PID: 1146 at net/ipv6/xfrm6_tunnel.c:341 xfrm6_tunnel_net_exit+0x9f/0x160 net/ipv6/xfrm6_tunnel.c:341 Modules linked in: CPU: 1 UID: 0 PID: 1146 Comm: kworker/u32:5 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:xfrm6_tunnel_net_exit+0x9f/0x160 net/ipv6/xfrm6_tunnel.c:341 Code: 00 00 00 49 8d 3c dc 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 bd 00 00 00 89 e8 49 8b 04 c4 48 85 c0 74 ab e8 92 2e 9c f7 90 <0f> 0b 90 eb a0 4d 8d ac 24 00 08 00 00 31 db 49 be 00 00 00 00 00 RSP: 0018:ffffc900064bfa90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: fffff52000c97f23 RDX: ffff888028cf8000 RSI: ffffffff8a20dbbe RDI: ffff888026068000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff9081f5d7 R11: 0000000000000001 R12: ffff888026068000 R13: dffffc0000000000 R14: fffffbfff205dd10 R15: ffffffff902ee860 FS: 0000000000000000(0000) GS:ffff8880d6b0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f278a7cfe9c CR3: 0000000025173000 CR4: 0000000000352ef0 Call Trace: 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