syzbot


WARNING: refcount bug in in_dev_finish_destroy (2)

Status: fixed on 2022/03/08 16:11
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 34ac17ecbf57 ethtool: use ethnl_parse_header_dev_put()
First crash: 268d, last: 253d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: refcount bug in in_dev_finish_destroy C unreliable 463 271d 498d 22/23 fixed on 2021/11/10 00:50

Sample crash report:
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 0 PID: 13 at lib/refcount.c:31 refcount_warn_saturate+0x17c/0x1a0 lib/refcount.c:31
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.16.0-rc1-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 47 38 fd 0f 0b e9 64 ff ff ff e8 f9 6d 6e fd c6 05 34 3c d5 09 01 48 c7 c7 80 02 d5 8a 31 c0 e8 84 47 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: 0000:ffffc90000d27a58 EFLAGS: 00010246
RAX: 48e9c2b90499d800 RBX: 0000000000000004 RCX: ffff888011fe8000
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000
RBP: 0000000000000004 R08: ffffffff8169fd72 R09: ffffed10173467b1
R10: ffffed10173467b1 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff88806f012000 R14: ffff88806f0125b0 R15: ffff88806cd74800
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f252537b210 CR3: 0000000076574000 CR4: 00000000003506f0
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]
 in_dev_finish_destroy+0x16d/0x190 net/ipv4/devinet.c:246
 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 (42):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/11/21 22:11 upstream 40c93d7fff6f 4eb20a4e .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-selinux-root 2021/11/17 21:53 upstream ee1703cda8dc cafff8b6 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-smack-root 2021/11/17 17:43 upstream ee1703cda8dc cafff8b6 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-smack-root 2021/11/16 23:13 upstream 8ab774587903 cafff8b6 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-smack-root 2021/11/16 11:57 upstream 8ab774587903 600426bd .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-selinux-root 2021/11/14 03:38 upstream a9b9669d9822 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-smack-root 2021/11/13 09:04 upstream 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-kasan-gce-smack-root 2021/11/12 19:53 upstream 7246f4dcaccc 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/25 05:25 net ac132852147a 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/24 03:31 net 7b1b62bc1e6a 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/16 22:23 net 848e5d66fa31 cafff8b6 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/15 08:58 net 1aa3b2207e88 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/14 22:18 net 1aa3b2207e88 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/13 15:44 net 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/13 10:28 net 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-this-kasan-gce 2021/11/13 01:29 net 5833291ab6de 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/27 01:33 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/25 05:55 net-next d156250018ab 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/24 16:06 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/23 11:41 net-next 3b0e04140bc3 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/23 01:29 net-next 6d872df3e3b9 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/22 21:19 net-next 6d872df3e3b9 545ab074 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/21 17:16 net-next 89f971182417 4eb20a4e .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/20 16:29 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/19 12:59 net-next 3b1abcf12894 31a30fc0 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/19 07:25 net-next 3b1abcf12894 31a30fc0 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/16 02:16 net-next cb3ef7b00042 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/15 07:42 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/15 02:44 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/15 02:36 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/15 00:29 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/14 22:14 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/14 20:10 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/14 16:47 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/14 06:56 net-next 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/13 23:28 net-next 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/13 23:26 net-next 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/13 20:54 net-next 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/13 11:50 net-next 66f4beaa6c1d 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/12 22:41 net-next 5833291ab6de 83f5c9b5 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/12 12:46 net-next 5833291ab6de 75b04091 .config log report info WARNING: refcount bug in in_dev_finish_destroy
ci-upstream-net-kasan-gce 2021/11/12 06:58 net-next 5833291ab6de 75b04091 .config log report info WARNING: refcount bug in in_dev_finish_destroy