================================================================== BUG: KCSAN: data-race in ipvlan_open / is_upper_ndev_bond_master_filter read-write to 0xffff888152e3d0c0 of 4 bytes by task 26290 on cpu 1: ipvlan_open+0x6d/0xf0 __dev_open+0x275/0x390 net/core/dev.c:1432 __dev_change_flags+0x14f/0x3f0 net/core/dev.c:8537 rtnl_configure_link net/core/rtnetlink.c:3189 [inline] rtnl_newlink_create net/core/rtnetlink.c:3371 [inline] __rtnl_newlink net/core/rtnetlink.c:3580 [inline] rtnl_newlink+0x1249/0x16a0 net/core/rtnetlink.c:3593 rtnetlink_rcv_msg+0x811/0x8c0 net/core/rtnetlink.c:6089 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2501 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:6107 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x661/0x750 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x38f/0x500 net/socket.c:2488 ___sys_sendmsg net/socket.c:2542 [inline] __sys_sendmsg+0x1f9/0x400 net/socket.c:2571 __do_sys_sendmsg net/socket.c:2580 [inline] __se_sys_sendmsg net/socket.c:2578 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2578 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888152e3d0c0 of 4 bytes by task 18527 on cpu 0: netif_is_bond_master include/linux/netdevice.h:4955 [inline] is_upper_ndev_bond_master_filter+0x27/0xb0 drivers/infiniband/core/roce_gid_mgmt.c:275 ib_enum_roce_netdev+0x12e/0x1e0 drivers/infiniband/core/device.c:2303 ib_enum_all_roce_netdevs+0xa4/0x110 drivers/infiniband/core/device.c:2332 netdevice_event_work_handler+0x157/0x3c0 drivers/infiniband/core/roce_gid_mgmt.c:627 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x00000002 -> 0x00000083 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18527 Comm: kworker/u4:1 Not tainted 5.19.0-rc6-syzkaller-00364-g9b59ec8d50a1-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: gid-cache-wq netdevice_event_work_handler ==================================================================