netdevsim netdevsim4 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim4 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 ================================================================== BUG: KCSAN: data-race in dev_get_tstats64 / udp_tunnel6_xmit_skb read-write to 0xffffe8ffffc7a8f8 of 8 bytes by task 8 on cpu 0: iptunnel_xmit_stats include/net/ip_tunnels.h:448 [inline] ip6tunnel_xmit include/net/ip6_tunnel.h:165 [inline] udp_tunnel6_xmit_skb+0x33c/0x420 net/ipv6/ip6_udp_tunnel.c:109 send6+0x2cd/0x3a0 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer drivers/net/wireguard/socket.c:177 [inline] wg_socket_send_buffer_to_peer+0x167/0x1e0 drivers/net/wireguard/socket.c:199 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0xf9/0x140 drivers/net/wireguard/send.c:51 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275 worker_thread+0x635/0xb90 kernel/workqueue.c:2421 kthread+0x1fd/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffffe8ffffc7a8f8 of 8 bytes by task 8476 on cpu 1: dev_fetch_sw_netstats net/core/dev.c:10436 [inline] dev_get_tstats64+0x104/0x1a0 net/core/dev.c:10458 dev_get_stats+0x63/0x160 net/core/dev.c:10400 rtnl_fill_stats+0x45/0x320 net/core/rtnetlink.c:1211 rtnl_fill_ifinfo+0xe92/0x2430 net/core/rtnetlink.c:1783 rtmsg_ifinfo_build_skb+0xa2/0x130 net/core/rtnetlink.c:3809 rtmsg_ifinfo_event net/core/rtnetlink.c:3841 [inline] rtmsg_ifinfo+0x55/0xc0 net/core/rtnetlink.c:3850 __dev_notify_flags+0x63/0x3a0 net/core/dev.c:8512 dev_change_flags+0xa2/0xc0 net/core/dev.c:8554 do_setlink+0x741/0x21d0 net/core/rtnetlink.c:2708 __rtnl_newlink net/core/rtnetlink.c:3376 [inline] rtnl_newlink+0xecc/0x13b0 net/core/rtnetlink.c:3502 rtnetlink_rcv_msg+0x723/0x7c0 net/core/rtnetlink.c:5564 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2494 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5582 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x5df/0x6b0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x6f8/0x7c0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] __sys_sendto+0x2a8/0x370 net/socket.c:1975 __do_sys_sendto net/socket.c:1987 [inline] __se_sys_sendto net/socket.c:1983 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:1983 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8476 Comm: syz-executor.4 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================