------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 31988 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 31988 Comm: syz-executor.0 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Code: 1d 3e 55 e8 09 31 ff 89 de e8 bd e7 aa fd 84 db 75 e0 e8 04 e1 aa fd 48 c7 c7 a0 e8 c1 89 c6 05 1e 55 e8 09 01 e8 ce f7 fa 04 <0f> 0b eb c4 e8 e8 e0 aa fd 0f b6 1d 0d 55 e8 09 31 ff 89 de e8 88 RSP: 0018:ffffc90000007e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880224a0000 RSI: ffffffff815c4d85 RDI: fffff52000000fb4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdb1e R11: 0000000000000000 R12: ffff8880606c2000 R13: ffff8880606c2568 R14: ffff8880298b8de0 R15: 0000000000000000 FS: 00007f585127f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31f2b000 CR3: 0000000025eda000 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_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 4e 46 52 f8 48 89 ef e8 76 fc 52 f8 e8 01 86 72 f8 fb bf 01 00 00 00 76 ca 46 f8 65 8b 05 af 94 fa 76 85 c0 74 02 5d c3 e8 0b ea f8 RSP: 0018:ffffc9000158f9c0 EFLAGS: 00000202 RAX: 000000000000059b RBX: 0000000000000001 RCX: 1ffffffff1f5fdf2 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff8880b9c35280 R08: 0000000000000001 R09: ffffffff8fac6937 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880b9c35280 R13: ffff88801a499c40 R14: 0000000000000000 R15: ffff8880224a0000 finish_lock_switch kernel/sched/core.c:4074 [inline] finish_task_switch.isra.0+0x15d/0x810 kernel/sched/core.c:4191 context_switch kernel/sched/core.c:4325 [inline] __schedule+0x919/0x21b0 kernel/sched/core.c:5073 schedule+0xcf/0x270 kernel/sched/core.c:5152 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5211 __mutex_lock_common kernel/locking/mutex.c:1026 [inline] __mutex_lock+0x81f/0x1120 kernel/locking/mutex.c:1096 rcu_barrier+0x44/0x420 kernel/rcu/tree.c:3937 netdev_run_todo+0x2b2/0xa90 net/core/dev.c:10522 dev_ioctl+0x27f/0xb70 net/core/dev_ioctl.c:531 sock_ioctl+0x50d/0x6a0 net/socket.c:1104 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f585127f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466459 RDX: 0000000020000580 RSI: 00000000000089f1 RDI: 0000000000000005 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffd9dced2df R14: 00007f585127f300 R15: 0000000000022000