syzbot
WARNING: refcount bug in fib_nh_common_release
Status: closed as invalid on 2021/12/14 20:02
Subsystems:
net
[Documentation on labels]
First crash: 1744d, last: 1723d
Sample crash report:
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 1 PID: 19 at lib/refcount.c:31 refcount_warn_saturate+0x17c/0x1a0 lib/refcount.c:31
Modules linked in:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:refcount_warn_saturate+0x17c/0x1a0 lib/refcount.c:31
Code: d5 8a 31 c0 e8 a5 43 38 fd 0f 0b e9 64 ff ff ff e8 f9 69 6e fd c6 05 74 38 d5 09 01 48 c7 c7 80 02 d5 8a 31 c0 e8 84 43 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:ffffc90000d979e8 EFLAGS: 00010246
RAX: af935528d0a5f200 RBX: 0000000000000004 RCX: ffff8880120bd700
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000004 R08: ffffffff8169fd72 R09: ffffed10173667b1
R10: ffffed10173667b1 R11: 0000000000000000 R12: ffff8880221430e0
R13: dffffc0000000000 R14: ffff888022143080 R15: ffff8880822b45b0
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcec170a000 CR3: 000000001a45d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__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
run_ksoftirqd+0xc1/0x120 kernel/softirq.c:920
smpboot_thread_fn+0x533/0x9d0 kernel/smpboot.c:164
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
</TASK>
* Struck through repros no longer work on HEAD.