------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 1 PID: 1045 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Modules linked in:
CPU: 1 PID: 1045 Comm: kworker/u4:5 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Code: 1d 1e 9d 81 09 31 ff 89 de e8 ed 11 9d fd 84 db 75 e0 e8 04 0e 9d fd 48 c7 c7 60 cb e4 89 c6 05 fe 9c 81 09 01 e8 f8 77 1c 05 <0f> 0b eb c4 e8 e8 0d 9d fd 0f b6 1d ed 9c 81 09 31 ff 89 de e8 b8
RSP: 0018:ffffc90000dc0df0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801c3a1d00 RSI: ffffffff815f39c8 RDI: fffff520001b81b0
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ed79e R11: 0000000000000000 R12: 0000000000000001
R13: ffff888072e845b0 R14: 0000000000000003 R15: ffff888012785de8
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe2b3be998 CR3: 000000003308a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__refcount_dec include/linux/refcount.h:344 [inline]
refcount_dec include/linux/refcount.h:359 [inline]
dev_put include/linux/netdevice.h:4166 [inline]
in_dev_finish_destroy+0x160/0x1b0 net/ipv4/devinet.c:246
in_dev_put include/linux/inetdevice.h:276 [inline]
in_dev_rcu_put+0x83/0xb0 net/ipv4/devinet.c:303
rcu_do_batch kernel/rcu/tree.c:2506 [inline]
rcu_core+0x7ab/0x1470 kernel/rcu/tree.c:2741
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:finish_task_switch.isra.0+0x323/0xb80 kernel/sched/core.c:4849
Code: 63 da e9 07 85 c0 75 02 0f 0b 48 85 db 0f 85 25 01 00 00 4c 89 f7 e8 fc f7 ff ff e8 f7 43 2d 00 fb 65 48 8b 1c 25 40 70 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc900051d7998 EFLAGS: 00000202
RAX: 00000000010dfad3 RBX: ffff88801c3a1d00 RCX: 1ffffffff1fac386
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900051d79e0 R08: 0000000000000001 R09: ffffffff8fd5ba0f
R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880b9d3a7d8
R13: ffff888028db5700 R14: ffff8880b9d39a80 R15: ffff8880b9d3a4b8
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xaa2/0x4940 kernel/sched/core.c:6250
preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6416
__cond_resched+0x13/0x20 kernel/sched/core.c:8129
_cond_resched include/linux/sched.h:2017 [inline]
inet_twsk_purge+0xed/0x7d0 net/ipv4/inet_timewait_sock.c:267
ops_exit_list+0x10d/0x160 net/core/net_namespace.c:171
cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 63 da movsxd %edx,%ebx
2: e9 07 85 c0 75 jmpq 0x75c0850e
7: 02 0f add (%rdi),%cl
9: 0b 48 85 or -0x7b(%rax),%ecx
c: db 0f fisttpl (%rdi)
e: 85 25 01 00 00 4c test %esp,0x4c000001(%rip) # 0x4c000015
14: 89 f7 mov %esi,%edi
16: e8 fc f7 ff ff callq 0xfffff817
1b: e8 f7 43 2d 00 callq 0x2d4417
20: fb sti
21: 65 48 8b 1c 25 40 70 mov %gs:0x27040,%rbx
28: 02 00
* 2a: 48 8d bb 80 15 00 00 lea 0x1580(%rbx),%rdi <-- trapping instruction
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 89 fa mov %rdi,%rdx
3e: 48 rex.W
3f: c1 .byte 0xc1