================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_free_area write to 0xffffffff88f3bccc of 4 bytes by task 8377 on cpu 0: pcpu_update_empty_pages mm/percpu.c:559 [inline] pcpu_block_update_hint_free mm/percpu.c:994 [inline] pcpu_free_area+0x578/0x620 mm/percpu.c:1254 free_percpu+0x1cb/0x740 mm/percpu.c:2102 xt_percpu_counter_free+0x5f/0x70 net/netfilter/x_tables.c:1861 cleanup_entry+0x15a/0x180 net/ipv4/netfilter/ip_tables.c:655 __do_replace+0x45e/0x580 net/ipv4/netfilter/ip_tables.c:1084 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x13d5/0x1670 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x1a6/0x1c0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x2725/0x2b50 net/ipv4/ip_sockglue.c:1435 tcp_setsockopt+0x8c/0xa0 net/ipv4/tcp.c:3643 sock_common_setsockopt+0x5d/0x70 net/core/sock.c:3263 __sys_setsockopt+0x2e8/0x460 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt net/socket.c:2125 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2125 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff88f3bccc of 4 bytes by task 8385 on cpu 1: pcpu_alloc+0xaed/0x1090 mm/percpu.c:1835 __alloc_percpu_gfp+0x22/0x30 mm/percpu.c:1894 fib_nh_common_init+0x45/0x180 net/ipv4/fib_semantics.c:581 fib6_nh_init+0xc39/0x12e0 net/ipv6/route.c:3501 ip6_route_info_create+0x82d/0xcc0 net/ipv6/route.c:3688 addrconf_f6i_alloc+0x157/0x1d0 net/ipv6/route.c:4452 ipv6_add_addr+0x2f7/0xc90 net/ipv6/addrconf.c:1089 inet6_addr_add+0x3d5/0x9e0 net/ipv6/addrconf.c:2945 inet6_rtm_newaddr+0x54d/0x1330 net/ipv6/addrconf.c:4869 rtnetlink_rcv_msg+0x728/0x7c0 net/core/rtnetlink.c:5553 netlink_rcv_skb+0x13e/0x240 net/netlink/af_netlink.c:2502 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5571 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x5fc/0x6c0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x6f8/0x7c0 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] __sys_sendto+0x2a8/0x370 net/socket.c:1977 __do_sys_sendto net/socket.c:1989 [inline] __se_sys_sendto net/socket.c:1985 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:1985 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8385 Comm: syz-executor.5 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== 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: 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 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