device wg1 left promiscuous mode device wg1 entered promiscuous mode ================================================================== BUG: KCSAN: data-race in dev_fetch_sw_netstats / wg_packet_handshake_receive_worker read-write to 0xffffe8ffffd53a40 of 8 bytes by task 31842 on cpu 1: update_rx_stats drivers/net/wireguard/receive.c:26 [inline] wg_receive_handshake_packet drivers/net/wireguard/receive.c:205 [inline] wg_packet_handshake_receive_worker+0x369/0x440 drivers/net/wireguard/receive.c:220 process_one_work+0x3e1/0x950 kernel/workqueue.c:2272 worker_thread+0x635/0xb90 kernel/workqueue.c:2418 kthread+0x1fd/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffffe8ffffd53a40 of 8 bytes by task 16432 on cpu 0: dev_fetch_sw_netstats+0x9b/0x160 net/core/dev.c:10351 ip_tunnel_get_stats64+0x38/0x40 net/ipv4/ip_tunnel_core.c:437 dev_get_stats+0x63/0x160 net/core/dev.c:10318 rtnl_fill_stats+0x45/0x320 net/core/rtnetlink.c:1209 rtnl_fill_ifinfo+0xe92/0x2430 net/core/rtnetlink.c:1781 rtmsg_ifinfo_build_skb+0xa2/0x130 net/core/rtnetlink.c:3807 rtmsg_ifinfo_event net/core/rtnetlink.c:3839 [inline] rtmsg_ifinfo+0x55/0xc0 net/core/rtnetlink.c:3848 __dev_notify_flags+0x63/0x3a0 net/core/dev.c:8453 dev_change_flags+0xa2/0xc0 net/core/dev.c:8495 devinet_ioctl+0x525/0x1030 net/ipv4/devinet.c:1143 inet_ioctl+0x1f9/0x290 net/ipv4/af_inet.c:967 sock_do_ioctl+0x4d/0x210 net/socket.c:1047 sock_ioctl+0x36e/0x5b0 net/socket.c:1198 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 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: 0 PID: 16432 Comm: syz-executor.0 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================