================================================================== BUG: KCSAN: data-race in macsec_handle_frame / macsec_handle_frame read-write to 0xffff88812d790168 of 8 bytes by interrupt on cpu 0: handle_not_macsec drivers/net/macsec.c:1062 [inline] macsec_handle_frame+0x36b/0x1410 drivers/net/macsec.c:1109 __netif_receive_skb_core+0x9fb/0x1ec0 net/core/dev.c:5373 __netif_receive_skb_one_core net/core/dev.c:5477 [inline] __netif_receive_skb+0x57/0x1b0 net/core/dev.c:5593 process_backlog+0x21f/0x380 net/core/dev.c:5921 __napi_poll+0x60/0x3b0 net/core/dev.c:6482 napi_poll net/core/dev.c:6549 [inline] net_rx_action+0x322/0x6c0 net/core/dev.c:6659 __do_softirq+0xe4/0x2b0 kernel/softirq.c:571 do_softirq+0xb5/0xf0 kernel/softirq.c:472 __local_bh_enable_ip+0x73/0x80 kernel/softirq.c:396 local_bh_enable+0x1f/0x20 include/linux/bottom_half.h:33 rcu_read_unlock_bh include/linux/rcupdate.h:843 [inline] ip6_finish_output2+0x9c3/0xc50 net/ipv6/ip6_output.c:135 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline] ip6_finish_output+0x39a/0x4e0 net/ipv6/ip6_output.c:206 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0xeb/0x220 net/ipv6/ip6_output.c:227 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] mld_sendpack+0x438/0x6a0 net/ipv6/mcast.c:1820 mld_send_cr net/ipv6/mcast.c:2121 [inline] mld_ifc_work+0x519/0x7b0 net/ipv6/mcast.c:2653 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537 kthread+0x1ac/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 read-write to 0xffff88812d790168 of 8 bytes by interrupt on cpu 1: handle_not_macsec drivers/net/macsec.c:1062 [inline] macsec_handle_frame+0x36b/0x1410 drivers/net/macsec.c:1109 __netif_receive_skb_core+0x9fb/0x1ec0 net/core/dev.c:5373 __netif_receive_skb_one_core net/core/dev.c:5477 [inline] __netif_receive_skb+0x57/0x1b0 net/core/dev.c:5593 process_backlog+0x21f/0x380 net/core/dev.c:5921 __napi_poll+0x60/0x3b0 net/core/dev.c:6482 napi_poll net/core/dev.c:6549 [inline] net_rx_action+0x322/0x6c0 net/core/dev.c:6659 __do_softirq+0xe4/0x2b0 kernel/softirq.c:571 do_softirq+0xb5/0xf0 kernel/softirq.c:472 __local_bh_enable_ip+0x73/0x80 kernel/softirq.c:396 local_bh_enable+0x1f/0x20 include/linux/bottom_half.h:33 rcu_read_unlock_bh include/linux/rcupdate.h:843 [inline] ip6_finish_output2+0x9c3/0xc50 net/ipv6/ip6_output.c:135 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline] ip6_finish_output+0x39a/0x4e0 net/ipv6/ip6_output.c:206 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0xeb/0x220 net/ipv6/ip6_output.c:227 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0x4d2/0x6b0 net/ipv6/ndisc.c:508 ndisc_send_ns+0x79/0xe0 net/ipv6/ndisc.c:666 addrconf_dad_work+0x6f1/0xbc0 net/ipv6/addrconf.c:4176 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537 kthread+0x1ac/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 value changed: 0x0000000000000003 -> 0x0000000000000004 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3230 Comm: kworker/1:5 Not tainted 6.3.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: ipv6_addrconf addrconf_dad_work ==================================================================