syzbot


WARNING: refcount bug in vlan_dev_free

Status: auto-closed as invalid on 2022/02/03 09:06
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 397d, last: 366d

Sample crash report:
WARNING: CPU: 1 PID: 13787 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 lib/refcount.c:31
Modules linked in:
CPU: 1 PID: 13787 Comm: syz-executor.3 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+0xbf/0x1e0 lib/refcount.c:31
Code: 1d d8 f3 a1 09 31 ff 89 de e8 1d f2 9c fd 84 db 75 e0 e8 34 ee 9c fd 48 c7 c7 e0 d4 04 8a c6 05 b8 f3 a1 09 01 e8 5b a5 25 05 <0f> 0b eb c4 e8 18 ee 9c fd 0f b6 1d a7 f3 a1 09 31 ff 89 de e8 e8
RSP: 0018:ffffc9000506efe0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815f0c28 RDI: fffff52000a0ddee
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ea9ce R11: 0000000000000000 R12: ffff888028b345b0
R13: 00000000fffffff0 R14: 00000000ffffffff R15: ffff888043600000
FS:  00007fe6aacd0700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffcd135de0 CR3: 0000000077eb7000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000006
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]
 vlan_dev_free+0xdc/0x100 net/8021q/vlan_dev.c:848
 register_netdevice+0xb1c/0x1500 net/core/dev.c:10387
 register_vlan_dev+0x360/0x960 net/8021q/vlan.c:179
 vlan_newlink+0x477/0x700 net/8021q/vlan_netlink.c:187
 __rtnl_newlink+0x106d/0x1750 net/core/rtnetlink.c:3458
 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3506
 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5571
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2491
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1916
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe6ad75aae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe6aacd0188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe6ad86df60 RCX: 00007fe6ad75aae9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007fe6ad7b4f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe6adda1b2f R14: 00007fe6aacd0300 R15: 0000000000022000
 </TASK>

Crashes (215):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/11/26 20:26 upstream a4849f6000e2 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream 2021/11/25 13:30 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce 2021/11/25 04:37 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce-selinux-root 2021/11/23 21:37 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce-selinux-root 2021/11/23 18:12 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce 2021/11/23 11:14 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce-root 2021/11/23 06:37 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce 2021/11/23 02:31 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream 2021/11/22 16:49 upstream 136057256686 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream 2021/11/20 04:44 upstream a90af8f15bdc 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/27 09:52 upstream 1bff7d7e8c48 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/25 22:26 upstream b501b85957de 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/24 21:41 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/24 20:27 upstream 5f53fa508db0 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/22 10:44 upstream 136057256686 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/21 05:42 upstream 923dcc5eb0c1 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/20 17:23 upstream a90af8f15bdc 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/20 16:19 upstream a90af8f15bdc 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-qemu-upstream-386 2021/11/20 02:17 upstream 9539ba4308ad 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-kasan-gce-386 2021/11/18 02:21 upstream ee1703cda8dc cafff8b6 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-this-kasan-gce 2021/11/21 04:41 net f9390b249c90 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-this-kasan-gce 2021/11/04 11:55 net 92f62485b371 4c1be0be .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/27 00:46 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/26 18:48 net-next 35bf8c86eeb8 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/26 10:54 net-next a0341b73d843 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/26 04:09 net-next a0341b73d843 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/26 00:30 net-next 305e95bb893c 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/25 21:21 net-next 305e95bb893c 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/25 18:19 net-next 305e95bb893c 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/25 16:57 net-next 305e95bb893c 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/25 09:44 net-next d156250018ab 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/25 06:11 net-next d156250018ab 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/24 17:46 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/24 16:14 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/24 09:55 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/24 06:45 net-next 91eddd309c67 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/24 02:34 net-next 2106efda785b 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/23 12:23 net-next 3b0e04140bc3 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/23 10:20 net-next 3b0e04140bc3 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/23 09:12 net-next 3b0e04140bc3 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/22 15:47 net-next 6d872df3e3b9 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/22 14:36 net-next 6d872df3e3b9 545ab074 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/22 06:16 net-next 89f971182417 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/22 02:33 net-next 89f971182417 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/21 21:16 net-next 89f971182417 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/21 01:03 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/20 18:48 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/20 15:54 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/20 12:41 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-net-kasan-gce 2021/11/20 07:58 net-next 812ad3d270cb 3a9d0024 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-linux-next-kasan-gce-root 2021/12/05 09:01 linux-next f81e94e91878 a617004c .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-linux-next-kasan-gce-root 2021/12/05 00:39 linux-next f81e94e91878 a617004c .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-linux-next-kasan-gce-root 2021/11/28 13:24 linux-next f81e94e91878 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-linux-next-kasan-gce-root 2021/11/27 11:14 linux-next f81e94e91878 63eeac02 .config log report info WARNING: refcount bug in vlan_dev_free
ci-upstream-linux-next-kasan-gce-root 2021/11/17 11:19 linux-next fd96a4057bd0 cafff8b6 .config log report info WARNING: refcount bug in vlan_dev_free
* Struck through repros no longer work on HEAD.