================================================================== BUG: KCSAN: data-race in __dev_change_flags / is_upper_ndev_bond_master_filter read-write to 0xffff888150e850a8 of 4 bytes by task 19675 on cpu 0: __dev_change_flags+0xa3/0x410 net/core/dev.c:8622 rtnl_configure_link net/core/rtnetlink.c:3329 [inline] rtnl_newlink_create net/core/rtnetlink.c:3526 [inline] __rtnl_newlink net/core/rtnetlink.c:3738 [inline] rtnl_newlink+0x120e/0x1670 net/core/rtnetlink.c:3751 rtnetlink_rcv_msg+0x80a/0x8c0 net/core/rtnetlink.c:6618 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6636 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x589/0x660 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2584 ___sys_sendmsg net/socket.c:2638 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2667 __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2674 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff888150e850a8 of 4 bytes by task 1106 on cpu 1: netif_is_bond_master include/linux/netdevice.h:5127 [inline] is_upper_ndev_bond_master_filter+0x2b/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:275 ib_enum_roce_netdev+0x120/0x1c0 drivers/infiniband/core/device.c:2305 ib_enum_all_roce_netdevs+0x8a/0xf0 drivers/infiniband/core/device.c:2334 netdevice_event_work_handler+0x15b/0x3c0 drivers/infiniband/core/roce_gid_mgmt.c:627 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x5b8/0xa40 kernel/workqueue.c:2706 worker_thread+0x525/0x730 kernel/workqueue.c:2787 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:243 value changed: 0x00001002 -> 0x00000102 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1106 Comm: kworker/u4:12 Tainted: G W 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: gid-cache-wq netdevice_event_work_handler ==================================================================