syzbot


WARNING: refcount bug in default_device_exit_batch

Status: auto-closed as invalid on 2022/05/12 16:31
Reported-by: syzbot+5971b9b300c59af94177@syzkaller.appspotmail.com
First crash: 387d, last: 287d

Sample crash report:
bond0 (unregistering): Released all slaves
------------[ cut here ]------------
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 1 PID: 994 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Modules linked in:
CPU: 1 PID: 994 Comm: kworker/u4:4 Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Code: 1d d4 da a1 09 31 ff 89 de e8 9d 4a 9c fd 84 db 75 e0 e8 b4 46 9c fd 48 c7 c7 e0 4c 04 8a c6 05 b4 da a1 09 01 e8 a5 ae 25 05 <0f> 0b eb c4 e8 98 46 9c fd 0f b6 1d a3 da a1 09 31 ff 89 de e8 68
RSP: 0018:ffffc90004787a10 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801c5ae280 RSI: ffffffff815e40a8 RDI: fffff520008f0f34
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815dde4e R11: 0000000000000000 R12: 0000000000000001
R13: ffffc90004787b68 R14: ffff8880306745b0 R15: ffff88807bf105a0
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bd569d70a8 CR3: 000000000b88e000 CR4: 00000000003526e0
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]
 unregister_netdevice_many+0x12c9/0x1790 net/core/dev.c:11114
 default_device_exit_batch+0x2fa/0x3c0 net/core/dev.c:11607
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:171
 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:593
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (292):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/11/26 10:34 upstream a4849f6000e2 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/25 21:14 upstream b501b85957de 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/25 19:04 upstream 5f53fa508db0 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/25 00:35 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/24 22:36 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/23 20:36 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-qemu-upstream 2021/11/23 15:37 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/22 15:05 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/22 13:21 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/21 22:48 upstream 40c93d7fff6f 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/21 21:19 upstream 40c93d7fff6f 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/21 05:43 upstream 923dcc5eb0c1 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/21 04:14 upstream 923dcc5eb0c1 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-selinux-root 2021/11/21 02:49 upstream 923dcc5eb0c1 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce-root 2021/11/20 05:00 upstream 9539ba4308ad 3a9d0024 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-kasan-gce 2021/11/17 18:39 upstream ee1703cda8dc cafff8b6 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/26 03:46 net 9dbe33cf371b 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/25 12:09 net fef30d6371b0 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/24 17:34 net 619ca0d0108a 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/24 12:28 net 619ca0d0108a 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/24 05:16 net 619ca0d0108a 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/23 22:20 net 7b1b62bc1e6a 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/23 12:58 net 03a000bfd719 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/23 11:05 net 03a000bfd719 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/23 02:22 net 3bd6b2a838ba 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/22 10:02 net f9390b249c90 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/22 01:20 net f9390b249c90 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/21 16:55 net f9390b249c90 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/21 12:30 net f9390b249c90 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/21 01:33 net 262ae1f9de4e 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/08 04:04 net 08fcdfa6e3ae 4c1be0be .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-this-kasan-gce 2021/11/04 04:19 net 92f62485b371 4c1be0be .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2022/02/11 16:30 net-next 5a8fb33e5305 0b33604d .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/27 05:57 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/27 02:29 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/26 19:37 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/26 02:11 net-next 305e95bb893c 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/25 08:40 net-next d156250018ab 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/24 19:14 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/24 15:30 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/22 19:04 net-next 6d872df3e3b9 545ab074 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-net-kasan-gce 2021/11/20 20:17 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/04 02:33 linux-next f81e94e91878 a617004c .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/03 15:19 linux-next f81e94e91878 c7c20675 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/01 23:28 linux-next f81e94e91878 61f86278 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/01 12:35 linux-next f81e94e91878 5fa3eacc .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/01 10:01 linux-next f81e94e91878 5fa3eacc .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/12/01 01:30 linux-next f81e94e91878 80270552 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/11/29 13:43 linux-next f81e94e91878 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/11/29 02:32 linux-next f81e94e91878 63eeac02 .config log report info WARNING: refcount bug in default_device_exit_batch
ci-upstream-linux-next-kasan-gce-root 2021/11/22 12:13 linux-next 5191249f8803 4eb20a4e .config log report info WARNING: refcount bug in default_device_exit_batch
* Struck through repros no longer work on HEAD.