------------[ cut here ]------------ WARNING: CPU: 1 PID: 19118 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Modules linked in: CPU: 1 PID: 19118 Comm: kworker/u8:3 Not tainted 6.3.0-rc5-syzkaller-00247-gcdc9718d5e59 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:inet_sock_destruct+0x6df/0x8a0 net/ipv4/af_inet.c:154 Code: ff e8 35 7a ec f8 0f 0b e9 07 fe ff ff e8 29 7a ec f8 0f 0b e9 3f fe ff ff e8 1d 7a ec f8 0f 0b e9 95 fd ff ff e8 11 7a ec f8 <0f> 0b e9 9f fe ff ff e8 e5 9e 3c f9 e9 7a fc ff ff 4c 89 e7 e8 18 RSP: 0018:ffffc900005c8c48 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000ffff9000 RCX: 0000000000000100 RDX: ffff888000542040 RSI: ffffffff8895809f RDI: 0000000000000005 RBP: ffff888028599240 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000ffff9000 R11: 0000000000000054 R12: ffff888028599268 R13: ffff8880285994b4 R14: ffff8880285992c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802ca80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa914c0f000 CR3: 0000000067245000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x770 net/core/sock.c:2135 sk_destruct net/core/sock.c:2183 [inline] __sk_free+0x175/0x460 net/core/sock.c:2194 sk_free+0x7c/0xa0 net/core/sock.c:2205 sock_put include/net/sock.h:1968 [inline] tcp_write_timer+0x24b/0x2b0 net/ipv4/tcp_timer.c:644 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_single+0x1fb/0x680 kernel/smp.c:776 Code: 00 00 00 66 44 89 ac 24 8e 00 00 00 4c 89 e6 e8 bb fa ff ff 41 89 c5 0f 1f 44 00 00 e8 be 0e 0b 00 eb 07 e8 b7 0e 0b 00 f3 90 <44> 8b a4 24 88 00 00 00 31 ff 41 83 e4 01 44 89 e6 e8 ef 0a 0b 00 RSP: 0018:ffffc90002b478e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff92000568f20 RCX: 0000000000000000 RDX: ffff888000542040 RSI: ffffffff8176ebf9 RDI: 0000000000000005 RBP: ffffc90002b479e8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000002 rcu_barrier+0x283/0x6a0 kernel/rcu/tree.c:3997 netdev_run_todo+0x2a9/0x1100 net/core/dev.c:10326 ip6_tnl_exit_batch_net+0x582/0x6f0 net/ipv6/ip6_tunnel.c:2279 ops_exit_list+0x125/0x170 net/core/net_namespace.c:174 cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:613 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 66 44 add %ah,0x44(%rsi) 5: 89 ac 24 8e 00 00 00 mov %ebp,0x8e(%rsp) c: 4c 89 e6 mov %r12,%rsi f: e8 bb fa ff ff callq 0xfffffacf 14: 41 89 c5 mov %eax,%r13d 17: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1c: e8 be 0e 0b 00 callq 0xb0edf 21: eb 07 jmp 0x2a 23: e8 b7 0e 0b 00 callq 0xb0edf 28: f3 90 pause * 2a: 44 8b a4 24 88 00 00 mov 0x88(%rsp),%r12d <-- trapping instruction 31: 00 32: 31 ff xor %edi,%edi 34: 41 83 e4 01 and $0x1,%r12d 38: 44 89 e6 mov %r12d,%esi 3b: e8 ef 0a 0b 00 callq 0xb0b2f