================================================================== BUG: KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit read-write to 0xffff888016eca190 of 8 bytes by task 5151 on cpu 0: ip_tunnel_xmit+0x75c/0x11b0 net/ipv4/ip_tunnel.c:745 ipip_tunnel_xmit+0x24d/0x2b0 net/ipv4/ipip.c:305 __netdev_start_xmit include/linux/netdevice.h:4735 [inline] netdev_start_xmit include/linux/netdevice.h:4749 [inline] xmit_one+0xf9/0x2e0 net/core/dev.c:3564 dev_hard_start_xmit net/core/dev.c:3580 [inline] __dev_queue_xmit+0xeef/0x1510 net/core/dev.c:4140 dev_queue_xmit+0x13/0x20 net/core/dev.c:4173 neigh_connected_output+0x264/0x290 net/core/neighbour.c:1520 neigh_output include/net/neighbour.h:510 [inline] ip_finish_output2+0x8e6/0xba0 net/ipv4/ip_output.c:230 __ip_finish_output+0x3d8/0x430 net/ipv4/ip_output.c:308 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568 udp_send_skb+0x619/0x850 net/ipv4/udp.c:948 udp_sendmsg+0x142c/0x15e0 net/ipv4/udp.c:1235 udpv6_sendmsg+0x981/0x17e0 net/ipv6/udp.c:1344 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmmsg+0x335/0x4b0 net/socket.c:2497 __do_sys_sendmmsg net/socket.c:2526 [inline] __se_sys_sendmmsg net/socket.c:2523 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2523 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read-write to 0xffff888016eca190 of 8 bytes by task 5170 on cpu 1: ip_tunnel_xmit+0x75c/0x11b0 net/ipv4/ip_tunnel.c:745 ipip_tunnel_xmit+0x24d/0x2b0 net/ipv4/ipip.c:305 __netdev_start_xmit include/linux/netdevice.h:4735 [inline] netdev_start_xmit include/linux/netdevice.h:4749 [inline] xmit_one+0xf9/0x2e0 net/core/dev.c:3564 dev_hard_start_xmit net/core/dev.c:3580 [inline] __dev_queue_xmit+0xeef/0x1510 net/core/dev.c:4140 dev_queue_xmit+0x13/0x20 net/core/dev.c:4173 neigh_connected_output+0x264/0x290 net/core/neighbour.c:1520 neigh_output include/net/neighbour.h:510 [inline] ip_finish_output2+0x8e6/0xba0 net/ipv4/ip_output.c:230 __ip_finish_output+0x3d8/0x430 net/ipv4/ip_output.c:308 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568 udp_send_skb+0x619/0x850 net/ipv4/udp.c:948 udp_sendmsg+0x142c/0x15e0 net/ipv4/udp.c:1235 udpv6_sendmsg+0x981/0x17e0 net/ipv6/udp.c:1344 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg net/socket.c:671 [inline] ____sys_sendmsg+0x352/0x4c0 net/socket.c:2353 ___sys_sendmsg net/socket.c:2407 [inline] __sys_sendmmsg+0x335/0x4b0 net/socket.c:2497 __do_sys_sendmmsg net/socket.c:2526 [inline] __se_sys_sendmmsg net/socket.c:2523 [inline] __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2523 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 5170 Comm: syz-executor.1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================