syzbot


WARNING in macvlan_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: 255d, last: 254d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 30097 at net/core/dev.c:10876 unregister_netdevice_many_notify+0x14d8/0x19a0 net/core/dev.c:10876
Modules linked in:
CPU: 0 PID: 30097 Comm: syz-executor.4 Not tainted 6.5.0-rc6-syzkaller-00036-g4853c74bd7ab #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 34 81 8b 48 c7 c7 20 35 81 8b c6 05 1e 12 6c 06 01 e8 24 08 23 f9 0f 0b e9 64 f7 ff ff e8 d8 45 5c f9 <0f> 0b e9 3b f7 ff ff e8 ac 52 b0 f9 e9 fc ec ff ff 4c 89 e7 e8 ff
RSP: 0018:ffffc90014e06f00 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000020830301 RCX: ffffc9000b8da000
RDX: 0000000000040000 RSI: ffffffff8829c2c8 RDI: 0000000000000001
RBP: ffff888040080000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: ffffffff8a40008b R12: ffff888040785580
R13: 0000000000000000 R14: 0000000000000002 R15: ffff888040785580
FS:  00007fb59bb676c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2eb30000 CR3: 0000000068591000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 macvlan_device_event+0x4fd/0x890 drivers/net/macvlan.c:1845
 notifier_call_chain+0xb6/0x3b0 kernel/notifier.c:93
 call_netdevice_notifiers_info+0xb9/0x130 net/core/dev.c:1962
 call_netdevice_notifiers_extack net/core/dev.c:2000 [inline]
 call_netdevice_notifiers net/core/dev.c:2014 [inline]
 unregister_netdevice_many_notify+0x82b/0x19a0 net/core/dev.c:10850
 rtnl_delete_link net/core/rtnetlink.c:3214 [inline]
 rtnl_dellink+0x3c1/0xae0 net/core/rtnetlink.c:3266
 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6428
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2549
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x539/0x800 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x93c/0xe30 net/netlink/af_netlink.c:1914
 sock_sendmsg_nosec net/socket.c:725 [inline]
 sock_sendmsg+0xd9/0x180 net/socket.c:748
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2494
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2548
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2577
 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:0x7fb59ae7cae9
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:00007fb59bb670c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb59af9bf80 RCX: 00007fb59ae7cae9
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000007
RBP: 00007fb59aec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb59af9bf80 R15: 00007ffce2281898
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/16 00:56 upstream 4853c74bd7ab 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in macvlan_device_event
2023/08/15 20:36 upstream 91aa6c412d7f 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in macvlan_device_event
2023/08/17 02:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac9847efd629 7773e940 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in macvlan_device_event
* Struck through repros no longer work on HEAD.