netlink: 8 bytes leftover after parsing attributes in process `syz.0.2716'. netlink: 'syz.0.2716': attribute type 10 has an invalid length. ================================================================== BUG: KCSAN: data-race in l3mdev_master_ifindex_rcu / team_add_slave read to 0xffff88811b134000 of 8 bytes by task 3932 on cpu 0: netif_is_l3_master include/linux/netdevice.h:5580 [inline] l3mdev_master_ifindex_rcu+0x1c/0xb0 net/l3mdev/l3mdev.c:117 ipv6_dev_get_saddr+0x193/0x470 net/ipv6/addrconf.c:1900 ip6_route_get_saddr include/net/ip6_route.h:162 [inline] ip6_dst_lookup_tail+0x3d8/0xa90 net/ipv6/ip6_output.c:1163 ip6_dst_lookup_flow+0x74/0xf0 net/ipv6/ip6_output.c:1291 send6+0x29f/0x490 drivers/net/wireguard/socket.c:139 wg_socket_send_skb_to_peer+0xc0/0x130 drivers/net/wireguard/socket.c:177 wg_socket_send_buffer_to_peer+0xf1/0x120 drivers/net/wireguard/socket.c:199 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x10d/0x160 drivers/net/wireguard/send.c:51 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x4d4/0x9a0 kernel/workqueue.c:3405 worker_thread+0x569/0x750 kernel/workqueue.c:3486 kthread+0x221/0x270 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read-write to 0xffff88811b134000 of 8 bytes by task 13518 on cpu 1: team_upper_dev_link drivers/net/team/team_core.c:1198 [inline] team_port_add drivers/net/team/team_core.c:1332 [inline] team_add_slave+0x6df/0x1810 drivers/net/team/team_core.c:2113 do_set_master+0x37b/0x450 net/core/rtnetlink.c:3020 do_setlink+0x976/0x2860 net/core/rtnetlink.c:3222 rtnl_changelink net/core/rtnetlink.c:3849 [inline] __rtnl_newlink net/core/rtnetlink.c:4022 [inline] rtnl_newlink+0x1086/0x1400 net/core/rtnetlink.c:4159 rtnetlink_rcv_msg+0x64b/0x720 net/core/rtnetlink.c:7076 netlink_rcv_skb+0x11e/0x220 net/netlink/af_netlink.c:2556 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:7103 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x5a7/0x680 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x5be/0x6f0 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0x532/0x580 net/socket.c:2684 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2738 __sys_sendmsg net/socket.c:2770 [inline] __do_sys_sendmsg net/socket.c:2775 [inline] __se_sys_sendmsg net/socket.c:2773 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2773 x64_sys_call+0x194c/0x3020 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13518 Comm: syz.0.2716 Tainted: G W syzkaller #0 PREEMPT(lazy) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 ================================================================== team0: Device wg2 is of different type