================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_balance_workfn read-write to 0xffffffff86e8f9bc of 4 bytes by task 25 on cpu 1: pcpu_update_empty_pages mm/percpu.c:606 [inline] pcpu_chunk_populated mm/percpu.c:1534 [inline] pcpu_balance_populated mm/percpu.c:2094 [inline] pcpu_balance_workfn+0xb27/0xce0 mm/percpu.c:2245 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 read to 0xffffffff86e8f9bc of 4 bytes by task 1831 on cpu 0: pcpu_alloc+0x9bb/0xfb0 mm/percpu.c:1877 __alloc_percpu+0x20/0x30 mm/percpu.c:1949 bond_init+0xf3/0x310 drivers/net/bonding/bond_main.c:6166 register_netdevice+0x401/0xdf0 net/core/dev.c:9891 bond_newlink+0x3f/0x90 drivers/net/bonding/bond_netlink.c:515 __rtnl_newlink net/core/rtnetlink.c:3483 [inline] rtnl_newlink+0xdc0/0x1580 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x74f/0x7e0 net/core/rtnetlink.c:5990 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2496 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:6008 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:705 [inline] sock_sendmsg net/socket.c:725 [inline] __sys_sendto+0x21e/0x2c0 net/socket.c:2040 __do_sys_sendto net/socket.c:2052 [inline] __se_sys_sendto net/socket.c:2048 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:2048 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+0x44/0xae value changed: 0x00000001 -> 0x00000004 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1831 Comm: syz-executor.3 Not tainted 5.18.0-rc1-syzkaller-00184-g1831fed55973-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== chnl_net:caif_netlink_parms(): no params data found bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered disabled state device bridge_slave_0 entered promiscuous mode bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_1 entered promiscuous mode bond0: (slave bond_slave_0): Enslaving as an active interface with an up link bond0: (slave bond_slave_1): Enslaving as an active interface with an up link team0: Port device team_slave_0 added team0: Port device team_slave_1 added batman_adv: batadv0: Adding interface: batadv_slave_0 batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active batman_adv: batadv0: Adding interface: batadv_slave_1 batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active device hsr_slave_0 entered promiscuous mode device hsr_slave_1 entered promiscuous mode debugfs: Directory 'hsr0' with parent 'hsr' already present! Cannot create hsr debugfs directory netdevsim netdevsim3 netdevsim0: renamed from eth0 netdevsim netdevsim3 netdevsim1: renamed from eth1 netdevsim netdevsim3 netdevsim2: renamed from eth2 netdevsim netdevsim3 netdevsim3: renamed from eth3 8021q: adding VLAN 0 to HW filter on device bond0 8021q: adding VLAN 0 to HW filter on device team0 IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready 8021q: adding VLAN 0 to HW filter on device batadv0 device veth0_vlan entered promiscuous mode device veth1_vlan entered promiscuous mode device veth0_macvtap entered promiscuous mode device veth1_macvtap entered promiscuous mode batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: batadv0: Interface activated: batadv_slave_0 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: batadv0: Interface activated: batadv_slave_1 netdevsim netdevsim3 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0