================================================================== BUG: KCSAN: data-race in __dev_open / is_upper_ndev_bond_master_filter read-write to 0xffff888109d4e0b0 of 4 bytes by task 10294 on cpu 1: __dev_open+0x24b/0x310 net/core/dev.c:1611 __dev_change_flags+0x155/0x410 net/core/dev.c:9172 rtnl_configure_link net/core/rtnetlink.c:3551 [inline] rtnl_newlink_create+0x2ac/0x5d0 net/core/rtnetlink.c:3803 __rtnl_newlink net/core/rtnetlink.c:3906 [inline] rtnl_newlink+0xe9f/0x1250 net/core/rtnetlink.c:4021 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6911 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6938 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:733 ____sys_sendmsg+0x312/0x410 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2659 __do_sys_sendmsg net/socket.c:2664 [inline] __se_sys_sendmsg net/socket.c:2662 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662 x64_sys_call+0x2734/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888109d4e0b0 of 4 bytes by task 3885 on cpu 0: netif_is_bond_master include/linux/netdevice.h:5295 [inline] is_upper_ndev_bond_master_filter+0x2b/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:275 ib_enum_roce_netdev+0x125/0x1d0 drivers/infiniband/core/device.c:2365 ib_enum_all_roce_netdevs+0x8a/0x100 drivers/infiniband/core/device.c:2392 netdevice_event_work_handler+0x15b/0x3c0 drivers/infiniband/core/roce_gid_mgmt.c:648 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000e022 -> 0x0000e123 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3885 Comm: kworker/u8:15 Tainted: G W 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: gid-cache-wq netdevice_event_work_handler ==================================================================