syzbot


WARNING: refcount bug in fib_nh_common_release

Status: closed as invalid on 2021/12/14 20:02
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 397d, last: 377d

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>

Crashes (12):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/11/25 21:54 upstream b501b85957de 63eeac02 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/25 00:36 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/21 20:56 upstream 40c93d7fff6f 4eb20a4e .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-root 2021/11/18 16:52 upstream 42eb8fdac2fc 31a30fc0 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/17 20:06 upstream ee1703cda8dc cafff8b6 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/15 16:29 upstream 8ab774587903 83f5c9b5 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/15 03:25 upstream fa55b7dcdc43 83f5c9b5 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/14 14:06 upstream c8c109546a19 83f5c9b5 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-kasan-gce-smack-root 2021/11/14 02:56 upstream ccfff0a2bd2a 83f5c9b5 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-qemu-upstream-386 2021/11/26 00:20 upstream b501b85957de 63eeac02 .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-net-this-kasan-gce 2021/11/06 21:29 net 70bf363d7adb 4c1be0be .config log report info WARNING: refcount bug in fib_nh_common_release
ci-upstream-net-this-kasan-gce 2021/11/05 05:52 net 436014e860d3 4c1be0be .config log report info WARNING: refcount bug in fib_nh_common_release
* Struck through repros no longer work on HEAD.