================================================================== BUG: KCSAN: data-race in udp_tunnel6_xmit_skb / udp_tunnel6_xmit_skb read to 0xffff88812840f158 of 8 bytes by task 11236 on cpu 1: iptunnel_xmit_stats include/net/ip_tunnels.h:460 [inline] ip6tunnel_xmit include/net/ip6_tunnel.h:166 [inline] udp_tunnel6_xmit_skb+0x45b/0x4d0 net/ipv6/ip6_udp_tunnel.c:109 send6+0x2f1/0x3b0 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xbb/0x130 drivers/net/wireguard/socket.c:177 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x142/0x360 drivers/net/wireguard/send.c:276 process_one_work+0x3f6/0x960 kernel/workqueue.c:2307 worker_thread+0x616/0xa70 kernel/workqueue.c:2454 kthread+0x1bf/0x1e0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 write to 0xffff88812840f158 of 8 bytes by task 19883 on cpu 0: iptunnel_xmit_stats include/net/ip_tunnels.h:460 [inline] ip6tunnel_xmit include/net/ip6_tunnel.h:166 [inline] udp_tunnel6_xmit_skb+0x46d/0x4d0 net/ipv6/ip6_udp_tunnel.c:109 send6+0x2f1/0x3b0 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xbb/0x130 drivers/net/wireguard/socket.c:177 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x142/0x360 drivers/net/wireguard/send.c:276 process_one_work+0x3f6/0x960 kernel/workqueue.c:2307 worker_thread+0x616/0xa70 kernel/workqueue.c:2454 kthread+0x1bf/0x1e0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 value changed: 0x0000000000000033 -> 0x0000000000000034 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 19883 Comm: kworker/0:0 Not tainted 5.17.0-rc6-syzkaller-00228-gac84e82f78cb-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg0 wg_packet_tx_worker ==================================================================