syzbot


WARNING in unregister_vlan_dev

Status: fixed on 2023/10/12 12:48
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+662f783a5cdf3add2719@syzkaller.appspotmail.com
Fix commit: ace0ab3a4b54 Revert "vlan: Fix VLAN 0 memory leak"
First crash: 282d, last: 272d
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 unregister_vlan_dev (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 unregister_vlan_dev 0 (2) 2023/08/13 08:26
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/08/12 14:33 21m 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: 5027 at net/core/dev.c:10876 unregister_netdevice_many_notify+0x14d8/0x19a0 net/core/dev.c:10876
Modules linked in:
CPU: 0 PID: 5027 Comm: syz-executor906 Not tainted 6.5.0-rc4-syzkaller-00248-g048c796beb6e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
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:ffffc900039bfae0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000027f95e01 RCX: 0000000000000000
RDX: ffff88802d241dc0 RSI: ffffffff8829a7b8 RDI: 0000000000000001
RBP: ffff88807c680000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff8a40008b R12: ffff888029882e80
R13: 0000000000000000 R14: 0000000000000002 R15: ffff888029882e80
FS:  0000555555f8f380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020002800 CR3: 000000007f16b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 unregister_netdevice_many net/core/dev.c:10906 [inline]
 unregister_netdevice_queue+0x2e5/0x3c0 net/core/dev.c:10786
 unregister_vlan_dev+0x2a9/0x580 net/8021q/vlan.c:118
 vlan_ioctl_handler+0x387/0xa80 net/8021q/vlan.c:627
 sock_ioctl+0x4b0/0x6e0 net/socket.c:1271
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f29480b4419
Code: 48 83 c4 28 c3 e8 d7 19 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdb9d37898 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2948101390 RCX: 00007f29480b4419
RDX: 0000000020002800 RSI: 0000000000008982 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000555500000000 R09: 0000555500000000
R10: 0000555500000000 R11: 0000000000000246 R12: 00007ffdb9d378e0
R13: 00007ffdb9d378b0 R14: 0000000000000001 R15: 00007ffdb9d378e0
 </TASK>

Crashes (1310):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/10 16:57 net 048c796beb6e 4df3089c .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in unregister_vlan_dev
2023/08/10 12:17 net 048c796beb6e 4df3089c .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 04:24 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in unregister_vlan_dev
2023/08/17 18:19 upstream 16931859a650 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in unregister_vlan_dev
2023/08/17 03:22 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 00:52 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 23:25 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in unregister_vlan_dev
2023/08/16 19:52 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in unregister_vlan_dev
2023/08/16 16:11 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in unregister_vlan_dev
2023/08/16 12:52 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in unregister_vlan_dev
2023/08/15 18:56 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in unregister_vlan_dev
2023/08/18 02:37 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/18 01:12 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 21:51 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 19:32 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 17:06 upstream 16931859a650 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/17 13:48 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 12:47 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 11:04 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 09:43 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 07:26 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/17 01:57 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/16 23:03 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/16 21:32 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/16 18:01 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/16 15:00 upstream 4853c74bd7ab 7773e940 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/16 11:50 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/16 11:39 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/16 08:30 upstream 2d7b8c6b90e4 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in unregister_vlan_dev
2023/08/16 07:22 upstream d4f8e13b0614 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/16 01:46 upstream 2d7b8c6b90e4 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 WARNING in unregister_vlan_dev
2023/08/16 00:40 upstream d4f8e13b0614 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat WARNING in unregister_vlan_dev
2023/08/15 09:50 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in unregister_vlan_dev
2023/08/14 06:47 net cc941e548bff 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 22:10 net-next c2e5f4fd1148 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 20:12 net-next c2e5f4fd1148 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 16:35 net-next c2e5f4fd1148 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 15:49 net-next c2e5f4fd1148 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 13:55 net-next c2e5f4fd1148 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 10:37 net-next a5e5b2cd47bc 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/18 03:38 net-next a5e5b2cd47bc 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 23:23 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 16:04 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 08:38 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 08:27 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 06:04 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 04:53 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/17 04:36 net-next f54a2a132a9d 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 14:03 net-next 950fe35831af 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 10:26 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 09:26 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 05:31 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 04:28 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 04:00 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 02:56 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/16 01:55 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/15 23:33 net-next c65dffc6f25c 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in unregister_vlan_dev
2023/08/20 22:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in unregister_vlan_dev
2023/08/19 19:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in unregister_vlan_dev
2023/08/19 07:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in unregister_vlan_dev
2023/08/19 04:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in unregister_vlan_dev
* Struck through repros no longer work on HEAD.