------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 9729 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 9729 Comm: kworker/0:8 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events pcpu_balance_workfn RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Code: 1d 3b 53 e8 09 31 ff 89 de e8 fd e7 aa fd 84 db 75 e0 e8 44 e1 aa fd 48 c7 c7 a0 e8 c1 89 c6 05 1b 53 e8 09 01 e8 0e d8 fa 04 <0f> 0b eb c4 e8 28 e1 aa fd 0f b6 1d 0a 53 e8 09 31 ff 89 de e8 c8 RSP: 0018:ffffc90000007e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880132b1c40 RSI: ffffffff815c4d85 RDI: fffff52000000fb4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdb1e R11: 0000000000000000 R12: ffff888012cae000 R13: ffff888012cae568 R14: ffff8880126a6de0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31b22000 CR3: 000000001d16a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __refcount_dec include/linux/refcount.h:344 [inline] refcount_dec include/linux/refcount.h:359 [inline] dev_put include/linux/netdevice.h:4135 [inline] in_dev_finish_destroy+0x172/0x1b0 net/ipv4/devinet.c:244 in_dev_put include/linux/inetdevice.h:265 [inline] in_dev_rcu_put+0x83/0xb0 net/ipv4/devinet.c:301 rcu_do_batch kernel/rcu/tree.c:2559 [inline] rcu_core+0x74a/0x12f0 kernel/rcu/tree.c:2794 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:434 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:191 Code: 74 24 10 e8 0a 66 52 f8 48 89 ef e8 32 1c 53 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 23 ea 46 f8 65 8b 05 5c b4 fa 76 85 c0 74 0a 5b 5d c3 e8 90 a5 RSP: 0018:ffffc90001b17a98 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1f58ed2 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff90034d58 R08: 0000000000000001 R09: ffffffff8fac58a7 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000000e R13: 000000000000000e R14: dead000000000100 R15: dffffc0000000000 __debug_check_no_obj_freed lib/debugobjects.c:997 [inline] debug_check_no_obj_freed+0x20c/0x420 lib/debugobjects.c:1018 free_pages_prepare mm/page_alloc.c:1276 [inline] free_pcp_prepare+0x297/0x400 mm/page_alloc.c:1310 free_unref_page_prepare mm/page_alloc.c:3205 [inline] free_unref_page+0x12/0x1d0 mm/page_alloc.c:3253 pcpu_free_pages.constprop.0+0xf8/0x180 mm/percpu-vm.c:64 pcpu_depopulate_chunk mm/percpu-vm.c:328 [inline] __pcpu_balance_workfn mm/percpu.c:1977 [inline] pcpu_balance_workfn+0x66c/0x12d0 mm/percpu.c:2069 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294