------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 1 PID: 10580 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31 Modules linked in: CPU: 1 PID: 10580 Comm: kworker/u4:6 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet 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:ffffc90000dc0e10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888054f0b880 RSI: ffffffff815c4d85 RDI: fffff520001b81b4 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815bdb1e R11: 0000000000000000 R12: ffff8880238d4000 R13: ffff8880238d4568 R14: ffff88802776b5e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc188c6db8 CR3: 000000004ef67000 CR4: 00000000001506e0 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: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:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:324 [inline] RIP: 0010:rcu_is_watching+0x32/0xc0 kernel/rcu/tree.c:1169 Code: 7e e8 b2 d8 a4 07 48 c7 c3 c0 60 03 00 83 f8 07 89 c5 0f 87 81 00 00 00 48 8d 3c ed e0 b6 0a 8b 48 b8 00 00 00 00 00 fc ff df <48> 89 fa 48 c1 ea 03 80 3c 02 00 75 5b 48 03 1c ed e0 b6 0a 8b 48 RSP: 0018:ffffc90001c0faa8 EFLAGS: 00000297 RAX: dffffc0000000000 RBX: 00000000000360c0 RCX: ffffffff8159a1e1 RDX: fffffbfff1b8b40a RSI: 0000000000000002 RDI: ffffffff8b0ab6e8 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8dc5a04f R10: fffffbfff1b8b409 R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff8880238b8c00 R15: 000000000000022b rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x5d3/0x720 kernel/locking/lockdep.c:5521 rcu_lock_release include/linux/rcupdate.h:272 [inline] rcu_read_unlock include/linux/rcupdate.h:710 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:771 [inline] batadv_iv_ogm_schedule_buff+0x7a6/0x1410 net/batman-adv/bat_iv_ogm.c:825 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x675/0x920 net/batman-adv/bat_iv_ogm.c:1723 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