================================================================== BUG: KCSAN: data-race in macsec_start_xmit / macsec_start_xmit write to 0xffff8880263c9160 of 8 bytes by task 3293 on cpu 1: macsec_start_xmit+0x2a6/0x1430 drivers/net/macsec.c:3399 __netdev_start_xmit include/linux/netdevice.h:4823 [inline] netdev_start_xmit include/linux/netdevice.h:4837 [inline] xmit_one+0xf9/0x2e0 net/core/dev.c:3593 dev_hard_start_xmit net/core/dev.c:3609 [inline] __dev_queue_xmit+0xf22/0x1580 net/core/dev.c:4182 dev_queue_xmit+0x13/0x20 net/core/dev.c:4215 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xb07/0xba0 net/ipv4/ip_output.c:230 __ip_finish_output+0x2f9/0x490 net/ipv4/ip_output.c:252 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_mc_output+0x304/0x4d0 net/ipv4/ip_output.c:417 dst_output include/net/dst.h:448 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568 udp_send_skb+0x62d/0x860 net/ipv4/udp.c:953 udp_sendmsg+0x12b0/0x1560 net/ipv4/udp.c:1240 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmmsg+0x315/0x4b0 net/socket.c:2490 __do_sys_sendmmsg net/socket.c:2519 [inline] __se_sys_sendmmsg net/socket.c:2516 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2516 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8880263c9160 of 8 bytes by task 3301 on cpu 0: macsec_start_xmit+0x294/0x1430 drivers/net/macsec.c:3399 __netdev_start_xmit include/linux/netdevice.h:4823 [inline] netdev_start_xmit include/linux/netdevice.h:4837 [inline] xmit_one+0xf9/0x2e0 net/core/dev.c:3593 dev_hard_start_xmit net/core/dev.c:3609 [inline] __dev_queue_xmit+0xf22/0x1580 net/core/dev.c:4182 dev_queue_xmit+0x13/0x20 net/core/dev.c:4215 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xb07/0xba0 net/ipv4/ip_output.c:230 __ip_finish_output+0x2f9/0x490 net/ipv4/ip_output.c:252 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_mc_output+0x304/0x4d0 net/ipv4/ip_output.c:417 dst_output include/net/dst.h:448 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568 udp_send_skb+0x62d/0x860 net/ipv4/udp.c:953 udp_sendmsg+0x12b0/0x1560 net/ipv4/udp.c:1240 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmmsg+0x315/0x4b0 net/socket.c:2490 __do_sys_sendmmsg net/socket.c:2519 [inline] __se_sys_sendmmsg net/socket.c:2516 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2516 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3301 Comm: syz-executor.5 Tainted: G W 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================