device veth0_macvtap entered promiscuous mode ================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_alloc read-write to 0xffffffff86efe674 of 4 bytes by task 3119 on cpu 0: pcpu_update_empty_pages mm/percpu.c:602 [inline] pcpu_chunk_populated mm/percpu.c:1531 [inline] pcpu_alloc+0x8e8/0xf60 mm/percpu.c:1863 __alloc_percpu+0x20/0x30 mm/percpu.c:1943 xt_percpu_counter_alloc+0x6e/0x110 net/netfilter/x_tables.c:1930 find_check_entry net/ipv6/netfilter/ip6_tables.c:547 [inline] translate_table+0x9ff/0x1090 net/ipv6/netfilter/ip6_tables.c:735 ip6t_register_table+0x95/0x3d0 net/ipv6/netfilter/ip6_tables.c:1746 ip6table_filter_table_init+0x84/0xb0 net/ipv6/netfilter/ip6table_filter.c:48 xt_find_table_lock+0x1c9/0x2d0 net/netfilter/x_tables.c:1259 xt_request_find_table_lock+0x22/0xa0 net/netfilter/x_tables.c:1284 get_info net/ipv6/netfilter/ip6_tables.c:981 [inline] do_ip6t_get_ctl+0x53a/0xbe0 net/ipv6/netfilter/ip6_tables.c:1663 nf_getsockopt+0x18f/0x1b0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x191/0x1f0 net/ipv6/ipv6_sockglue.c:1511 tcp_getsockopt+0xa3/0xd0 net/ipv4/tcp.c:4406 sock_common_getsockopt+0x53/0x60 net/core/sock.c:3636 __sys_getsockopt+0x17a/0x1e0 net/socket.c:2290 __do_sys_getsockopt net/socket.c:2305 [inline] __se_sys_getsockopt net/socket.c:2302 [inline] __x64_sys_getsockopt+0x62/0x70 net/socket.c:2302 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 0xffffffff86efe674 of 4 bytes by task 3132 on cpu 1: pcpu_alloc+0x91d/0xf60 mm/percpu.c:1870 __alloc_percpu_gfp+0x22/0x30 mm/percpu.c:1930 fib_nh_common_init+0x44/0x270 net/ipv4/fib_semantics.c:589 fib6_nh_init+0xd9b/0x1370 net/ipv6/route.c:3608 ip6_route_info_create+0x7ca/0xbb0 net/ipv6/route.c:3799 ip6_route_add+0x22/0x100 net/ipv6/route.c:3843 addrconf_prefix_route net/ipv6/addrconf.c:2425 [inline] fixup_permanent_addr net/ipv6/addrconf.c:3476 [inline] addrconf_permanent_addr+0x463/0x5d0 net/ipv6/addrconf.c:3500 addrconf_notify+0x661/0x9b0 net/ipv6/addrconf.c:3572 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0x53/0xb0 kernel/notifier.c:455 __dev_notify_flags+0x1e1/0x3b0 dev_change_flags+0xa7/0xc0 net/core/dev.c:8607 do_setlink+0x9a5/0x2210 net/core/rtnetlink.c:2827 __rtnl_newlink net/core/rtnetlink.c:3590 [inline] rtnl_newlink+0x119c/0x16f0 net/core/rtnetlink.c:3637 rtnetlink_rcv_msg+0x811/0x8d0 net/core/rtnetlink.c:6141 netlink_rcv_skb+0x13e/0x250 net/netlink/af_netlink.c:2564 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:6159 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x666/0x760 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x22d/0x2d0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0x74/0x90 net/socket.c:2125 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 value changed: 0xffffffff -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3132 Comm: syz-executor.1 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ================================================================== device 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 netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0