================================================================== BUG: KCSAN: data-race in is_eth_port_of_netdev_filter / team_port_del write to 0xffff88806d3f122c of 4 bytes by task 12554 on cpu 1: team_upper_dev_unlink drivers/net/team/team.c:1124 [inline] team_port_del+0x243/0x8a0 drivers/net/team/team.c:1343 team_del_slave+0x32/0x70 drivers/net/team/team.c:1982 do_set_master net/core/rtnetlink.c:2503 [inline] do_setlink+0x8cb/0x2220 net/core/rtnetlink.c:2713 rtnl_group_changelink net/core/rtnetlink.c:3225 [inline] __rtnl_newlink net/core/rtnetlink.c:3379 [inline] rtnl_newlink+0xab3/0x1340 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x71b/0x7b0 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2470 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5581 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x5e2/0x6b0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x6d8/0x7a0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmsg+0x1df/0x260 net/socket.c:2440 __do_sys_sendmsg net/socket.c:2449 [inline] __se_sys_sendmsg net/socket.c:2447 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2447 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88806d3f122c of 4 bytes by task 28625 on cpu 0: is_vlan_dev include/linux/if_vlan.h:74 [inline] rdma_vlan_dev_real_dev include/rdma/ib_addr.h:266 [inline] is_eth_port_of_netdev_filter+0x29/0x1a0 drivers/infiniband/core/roce_gid_mgmt.c:157 ib_enum_roce_netdev+0x292/0x310 drivers/infiniband/core/device.c:2294 ib_enum_all_roce_netdevs+0x94/0x100 drivers/infiniband/core/device.c:2323 netdevice_event_work_handler+0xf8/0x200 drivers/infiniband/core/roce_gid_mgmt.c:626 process_one_work+0x3e1/0x950 kernel/workqueue.c:2269 worker_thread+0x665/0xbe0 kernel/workqueue.c:2415 kthread+0x20d/0x230 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 28625 Comm: kworker/u4:4 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: gid-cache-wq netdevice_event_work_handler ==================================================================