syzbot


WARNING in vlan_device_event

Status: fixed on 2023/10/12 12:47
Subsystems: net
[Documentation on labels]
Fix commit: ace0ab3a4b54 Revert "vlan: Fix VLAN 0 memory leak"
First crash: 479d, last: 479d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5570 at net/core/dev.c:10956 unregister_netdevice_many_notify+0x1554/0x1a20 net/core/dev.c:10956
Modules linked in:
CPU: 1 PID: 5570 Comm: syz-executor.1 Not tainted 6.5.0-rc5-syzkaller-01537-gc65dffc6f25c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:unregister_netdevice_many_notify+0x1554/0x1a20 net/core/dev.c:10956
Code: f4 1a 00 00 48 c7 c6 60 69 81 8b 48 c7 c7 a0 69 81 8b c6 05 50 ae 6a 06 01 e8 d8 14 21 f9 0f 0b e9 1c f7 ff ff e8 8c 52 5a f9 <0f> 0b e9 f3 f6 ff ff e8 60 37 af f9 e9 80 ec ff ff 4c 89 e7 e8 b3
RSP: 0018:ffffc900067feea0 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000028f3a001 RCX: ffffc900062e9000
RDX: 0000000000040000 RSI: ffffffff882bce04 RDI: 0000000000000001
RBP: ffff88804b242000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff81dadfe5 R12: ffff88804b76a200
R13: 0000000000000000 R14: 0000000000000002 R15: ffff88804b76a200
FS:  00007fcfb1a856c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000562737fea790 CR3: 000000002a603000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vlan_device_event+0x17e5/0x2070 net/8021q/vlan.c:488
 notifier_call_chain+0xb6/0x3b0 kernel/notifier.c:93
 call_netdevice_notifiers_info+0xb9/0x130 net/core/dev.c:1970
 call_netdevice_notifiers_extack net/core/dev.c:2008 [inline]
 call_netdevice_notifiers net/core/dev.c:2022 [inline]
 unregister_netdevice_many_notify+0x85f/0x1a20 net/core/dev.c:10930
 rtnl_delete_link net/core/rtnetlink.c:3213 [inline]
 rtnl_dellink+0x3c1/0xae0 net/core/rtnetlink.c:3265
 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6427
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545
 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline]
 netlink_unicast+0x536/0x810 net/netlink/af_netlink.c:1368
 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910
 sock_sendmsg_nosec net/socket.c:728 [inline]
 sock_sendmsg+0xd9/0x180 net/socket.c:751
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2514
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2568
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2597
 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:0x7fcfb0c7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcfb1a850c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fcfb0d9bf80 RCX: 00007fcfb0c7cae9
RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000000000004
RBP: 00007fcfb0cc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fcfb0d9bf80 R15: 00007ffc744fd778
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/15 23:38 net-next c65dffc6f25c 39990d51 .config console log report info ci-upstream-net-kasan-gce WARNING in vlan_device_event
* Struck through repros no longer work on HEAD.