syzbot


WARNING in ip6_tnl_exit_batch_net

Status: fixed on 2023/10/12 12:48
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+d810d3cd45ed1848c3f7@syzkaller.appspotmail.com
Fix commit: ace0ab3a4b54 Revert "vlan: Fix VLAN 0 memory leak"
First crash: 488d, last: 481d
Cause bisection: introduced by (bisect log) :
commit 718cb09aaa6fa78cc8124e9517efbc6c92665384
Author: Vlad Buslov <vladbu@nvidia.com>
Date: Tue Aug 8 09:35:21 2023 +0000

  vlan: Fix VLAN 0 memory leak

Crash: WARNING in __tun_detach (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] Revert "vlan: Fix VLAN 0 memory leak" 3 (3) 2023/08/14 07:20
[syzbot] [net?] WARNING in ip6_tnl_exit_batch_net 2 (3) 2023/08/11 15:06
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/12 14:27 27m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git 048c796beb6e OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 12 at net/core/dev.c:10876 unregister_netdevice_many_notify+0x14d8/0x19a0 net/core/dev.c:10876
Modules linked in:
CPU: 0 PID: 12 Comm: kworker/u4:1 Not tainted 6.5.0-rc4-syzkaller-00248-g048c796beb6e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: netns cleanup_net
RIP: 0010:unregister_netdevice_many_notify+0x14d8/0x19a0 net/core/dev.c:10876
Code: b4 1a 00 00 48 c7 c6 e0 18 81 8b 48 c7 c7 20 19 81 8b c6 05 ab 19 6c 06 01 e8 b4 22 23 f9 0f 0b e9 64 f7 ff ff e8 68 60 5c f9 <0f> 0b e9 3b f7 ff ff e8 fc 68 b0 f9 e9 fc ec ff ff 4c 89 e7 e8 4f
RSP: 0018:ffffc90000117a30 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000070de5201 RCX: 0000000000000000
RDX: ffff88801526d940 RSI: ffffffff8829a7b8 RDI: 0000000000000001
RBP: ffff88807d7ee000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff81004e11 R12: ffff888018fb2a00
R13: 0000000000000000 R14: 0000000000000002 R15: ffff888018fb2a00
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005581d741a950 CR3: 000000007deef000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ip6_tnl_exit_batch_net+0x57d/0x6f0 net/ipv6/ip6_tunnel.c:2278
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597
 worker_thread+0x687/0x1110 kernel/workqueue.c:2748
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/10 15:11 net 048c796beb6e 4df3089c .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/18 03:29 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ip6_tnl_exit_batch_net
2023/08/18 03:29 upstream 16931859a650 74b106b6 .config console log report info ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/17 06:45 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ip6_tnl_exit_batch_net
2023/08/15 20:35 upstream d4f8e13b0614 39990d51 .config console log report info ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/15 07:11 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/14 12:52 upstream 2ccdd1b13c59 39990d51 .config console log report info ci-upstream-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/14 06:15 upstream 2ccdd1b13c59 39990d51 .config console log report info ci-upstream-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/14 03:42 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ip6_tnl_exit_batch_net
2023/08/12 21:24 upstream ae545c3283dc 39990d51 .config console log report info ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/11 18:57 upstream 9106536c1aa3 39990d51 .config console log report info ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/11 11:32 upstream 25aa0bebba72 39990d51 .config console log report info ci-qemu-upstream WARNING in ip6_tnl_exit_batch_net
2023/08/11 04:41 upstream 25aa0bebba72 da3c3ef8 .config console log report info ci-upstream-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/11 02:46 upstream 25aa0bebba72 da3c3ef8 .config console log report info ci-upstream-kasan-badwrites-root WARNING in ip6_tnl_exit_batch_net
2023/08/11 00:25 upstream 25aa0bebba72 4df3089c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ip6_tnl_exit_batch_net
2023/08/17 16:56 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in ip6_tnl_exit_batch_net
2023/08/17 14:58 upstream 4853c74bd7ab 74b106b6 .config console log report info ci-qemu2-arm64 WARNING in ip6_tnl_exit_batch_net
2023/08/17 08:46 upstream 4853c74bd7ab 74b106b6 .config console log report info ci-upstream-kasan-gce-386 WARNING in ip6_tnl_exit_batch_net
2023/08/17 02:16 upstream 4853c74bd7ab 74b106b6 .config console log report info ci-qemu-upstream-386 WARNING in ip6_tnl_exit_batch_net
2023/08/17 01:36 upstream 4853c74bd7ab 74b106b6 .config console log report info ci-qemu-upstream-386 WARNING in ip6_tnl_exit_batch_net
2023/08/16 21:02 upstream 4853c74bd7ab 7773e940 .config console log report info ci-qemu2-arm64-compat WARNING in ip6_tnl_exit_batch_net
2023/08/14 01:36 upstream 2ccdd1b13c59 39990d51 .config console log report info ci-qemu2-arm64 WARNING in ip6_tnl_exit_batch_net
2023/08/13 07:06 upstream ae545c3283dc 39990d51 .config console log report info ci-qemu2-arm64 WARNING in ip6_tnl_exit_batch_net
2023/08/14 06:13 net cc941e548bff 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/13 13:37 net cc941e548bff 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/13 13:02 net cc941e548bff 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/13 01:06 net 829c6524d672 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/11 00:08 net 25aa0bebba72 4df3089c .config console log report info ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
2023/08/10 08:41 net 048c796beb6e 4df3089c .config console log report info ci-upstream-net-this-kasan-gce WARNING in ip6_tnl_exit_batch_net
* Struck through repros no longer work on HEAD.