8021q: adding VLAN 0 to HW filter on device team0 ================================================================== BUG: KCSAN: data-race in pcpu_alloc_noprof / pcpu_free_area read-write to 0xffffffff88be03ac of 4 bytes by task 4099 on cpu 0: pcpu_update_empty_pages mm/percpu.c:602 [inline] pcpu_block_update_hint_free mm/percpu.c:1044 [inline] pcpu_free_area+0x4dc/0x570 mm/percpu.c:1302 free_percpu+0x1c6/0xb30 mm/percpu.c:2246 htab_free_elems kernel/bpf/hashtab.c:287 [inline] prealloc_destroy+0xea/0x1a0 kernel/bpf/hashtab.c:382 htab_map_free+0x4a0/0x620 kernel/bpf/hashtab.c:1561 bpf_map_free+0x49/0x70 kernel/bpf/syscall.c:744 map_create+0xb10/0xb70 kernel/bpf/syscall.c:1422 __sys_bpf+0x667/0x7a0 kernel/bpf/syscall.c:5635 __do_sys_bpf kernel/bpf/syscall.c:5760 [inline] __se_sys_bpf kernel/bpf/syscall.c:5758 [inline] __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5758 x64_sys_call+0x2625/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:322 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 0xffffffff88be03ac of 4 bytes by task 3971 on cpu 1: pcpu_alloc_noprof+0x9b6/0x10a0 mm/percpu.c:1894 fib_nh_common_init+0x4a/0x2b0 net/ipv4/fib_semantics.c:590 fib_nh_init+0x64/0x1b0 net/ipv4/fib_semantics.c:629 fib_create_info+0xa1f/0x14f0 net/ipv4/fib_semantics.c:1495 fib_table_insert+0x101/0xfa0 net/ipv4/fib_trie.c:1237 fib_magic+0x1a1/0x1f0 net/ipv4/fib_frontend.c:1104 fib_add_ifaddr+0x281/0x330 net/ipv4/fib_frontend.c:1141 fib_netdev_event+0x34f/0x430 net/ipv4/fib_frontend.c:1486 notifier_call_chain kernel/notifier.c:93 [inline] raw_notifier_call_chain+0x6f/0x1d0 kernel/notifier.c:461 call_netdevice_notifiers_info+0xae/0x100 net/core/dev.c:1996 __dev_notify_flags+0xff/0x1a0 dev_change_flags+0xab/0xd0 net/core/dev.c:8922 do_setlink+0x844/0x2490 net/core/rtnetlink.c:2929 __rtnl_newlink net/core/rtnetlink.c:3725 [inline] rtnl_newlink+0x11a3/0x1690 net/core/rtnetlink.c:3772 rtnetlink_rcv_msg+0x6aa/0x710 net/core/rtnetlink.c:6675 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2536 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6693 netlink_unicast_kernel net/netlink/af_netlink.c:1316 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1342 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1886 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:744 __sys_sendto+0x1d6/0x260 net/socket.c:2214 __do_sys_sendto net/socket.c:2226 [inline] __se_sys_sendto net/socket.c:2222 [inline] __x64_sys_sendto+0x78/0x90 net/socket.c:2222 x64_sys_call+0x2959/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:45 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 value changed: 0x000000d4 -> 0x000000db Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3971 Comm: syz-executor Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 ================================================================== hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network 8021q: adding VLAN 0 to HW filter on device batadv0 veth0_vlan: entered promiscuous mode veth1_vlan: entered promiscuous mode veth0_macvtap: entered promiscuous mode veth1_macvtap: entered promiscuous mode batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) 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:3e) 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:3e) 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:3e) 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:3f) 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:3f) 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:3f) 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:3f) 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 netdevsim5 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim5 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim5 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim5 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0