================================================================== BUG: KCSAN: data-race in bond_3ad_get_active_agg_info / bond_3ad_state_machine_handler write to 0xffff8881a1da64b0 of 8 bytes by task 32261 on cpu 0: ad_port_selection_logic drivers/net/bonding/bond_3ad.c:1515 [inline] bond_3ad_state_machine_handler+0xa13/0x2470 drivers/net/bonding/bond_3ad.c:2368 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703 worker_thread+0x525/0x730 kernel/workqueue.c:2784 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 read to 0xffff8881a1da64b0 of 8 bytes by task 27072 on cpu 1: __bond_3ad_get_active_agg_info drivers/net/bonding/bond_3ad.c:2657 [inline] bond_3ad_get_active_agg_info+0x8b/0x220 drivers/net/bonding/bond_3ad.c:2680 bond_fill_info+0xd87/0x1020 drivers/net/bonding/bond_netlink.c:793 rtnl_link_info_fill net/core/rtnetlink.c:713 [inline] rtnl_link_fill+0x1ca/0x4d0 net/core/rtnetlink.c:734 rtnl_fill_ifinfo+0xdea/0x1120 net/core/rtnetlink.c:1880 rtmsg_ifinfo_build_skb+0x129/0x1b0 net/core/rtnetlink.c:4040 rtmsg_ifinfo_event net/core/rtnetlink.c:4074 [inline] rtmsg_ifinfo+0x6b/0x100 net/core/rtnetlink.c:4083 __dev_notify_flags+0x74/0x3d0 net/core/dev.c:8632 dev_change_flags+0xab/0xd0 net/core/dev.c:8674 do_setlink+0x9f6/0x2430 net/core/rtnetlink.c:2880 __rtnl_newlink net/core/rtnetlink.c:3671 [inline] rtnl_newlink+0x1183/0x1670 net/core/rtnetlink.c:3718 rtnetlink_rcv_msg+0x807/0x8c0 net/core/rtnetlink.c:6444 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2545 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6462 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x575/0x640 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2540 ___sys_sendmsg net/socket.c:2594 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2623 __do_sys_sendmsg net/socket.c:2632 [inline] __se_sys_sendmsg net/socket.c:2630 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2630 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000000 -> 0xffff8881a1da6400 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 27072 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller-10885-g0468be89b3fa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 ================================================================== 8021q: adding VLAN 0 to HW filter on device bond325 syz-executor.2 (27072) used greatest stack depth: 9272 bytes left