------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 13471 at lib/refcount.c:31 refcount_warn_saturate+0x17c/0x1a0 lib/refcount.c:31 Modules linked in: CPU: 0 PID: 13471 Comm: kworker/u4:12 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:refcount_warn_saturate+0x17c/0x1a0 lib/refcount.c:31 Code: d4 8a 31 c0 e8 15 42 38 fd 0f 0b e9 64 ff ff ff e8 99 65 6e fd c6 05 a7 02 d5 09 01 48 c7 c7 40 fd d4 8a 31 c0 e8 f4 41 38 fd <0f> 0b e9 43 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c a2 fe ff RSP: 0018:ffffc90000007b68 EFLAGS: 00010246 RAX: 5ee2659018811f00 RBX: 0000000000000004 RCX: ffff88801bce9d00 RDX: 0000000000000101 RSI: 0000000000000101 RDI: 0000000000000000 RBP: 0000000000000004 R08: ffffffff8169fb52 R09: ffffed10173467b1 R10: ffffed10173467b1 R11: 0000000000000000 R12: ffff88803f9a68e0 R13: dffffc0000000000 R14: ffff88803f9a6880 R15: ffff88803f27e5b0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd778e8f78 CR3: 000000007933f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:4166 [inline] fib_nh_common_release+0x2c4/0x2d0 net/ipv4/fib_semantics.c:211 fib_nh_release net/ipv4/fib_semantics.c:225 [inline] free_fib_info_rcu+0xe4/0x4a0 net/ipv4/fib_semantics.c:237 rcu_do_batch kernel/rcu/tree.c:2506 [inline] rcu_core+0x9b8/0x1610 kernel/rcu/tree.c:2741 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:debug_lockdep_rcu_enabled+0x12/0x30 kernel/rcu/update.c:280 Code: c6 40 28 6f 8a 31 c0 e8 ac 22 4c f7 0f 0b eb cc cc cc cc cc cc cc cc cc 31 c0 83 3d 53 29 fc 03 00 74 1e 83 3d f2 5b fc 03 00 <74> 15 65 48 8b 0c 25 c0 6f 02 00 31 c0 83 b9 5c 0a 00 00 00 0f 94 RSP: 0018:ffffc9000290f998 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff92000521f34 RCX: ffffffff8165db3b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8dfe56e8 RBP: ffffc9000290fa28 R08: dffffc0000000000 R09: fffffbfff1bfcade R10: fffffbfff1bfcade R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] rcu_read_lock_sched_held+0x5f/0x130 kernel/rcu/update.c:123 trace_lock_acquire+0x59/0x190 include/trace/events/lock.h:13 lock_acquire+0xa5/0x4d0 kernel/locking/lockdep.c:5608 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: c6 40 28 6f movb $0x6f,0x28(%rax) 4: 8a 31 mov (%rcx),%dh 6: c0 e8 ac shr $0xac,%al 9: 22 4c f7 0f and 0xf(%rdi,%rsi,8),%cl d: 0b eb or %ebx,%ebp f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: cc int3 16: cc int3 17: cc int3 18: 31 c0 xor %eax,%eax 1a: 83 3d 53 29 fc 03 00 cmpl $0x0,0x3fc2953(%rip) # 0x3fc2974 21: 74 1e je 0x41 23: 83 3d f2 5b fc 03 00 cmpl $0x0,0x3fc5bf2(%rip) # 0x3fc5c1c * 2a: 74 15 je 0x41 <-- trapping instruction 2c: 65 48 8b 0c 25 c0 6f mov %gs:0x26fc0,%rcx 33: 02 00 35: 31 c0 xor %eax,%eax 37: 83 b9 5c 0a 00 00 00 cmpl $0x0,0xa5c(%rcx) 3e: 0f .byte 0xf 3f: 94 xchg %eax,%esp