================================================================== BUG: KCSAN: data-race in ip6_tnl_start_xmit / ip6_tnl_start_xmit read-write to 0xffff888021cf7130 of 8 bytes by task 25992 on cpu 1: ip6_tnl_start_xmit+0x7f9/0x9e0 net/ipv6/ip6_tunnel.c:1468 __netdev_start_xmit include/linux/netdevice.h:4718 [inline] netdev_start_xmit include/linux/netdevice.h:4732 [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:1518 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x984/0xb20 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x2f1/0x320 net/ipv6/ip6_output.c:143 ip6_finish_output+0x39/0x160 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip6_output+0x10e/0x210 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:443 [inline] ip6_local_out+0x60/0x80 net/ipv6/output_core.c:179 ip6_send_skb net/ipv6/ip6_output.c:1865 [inline] ip6_push_pending_frames+0xb6/0x170 net/ipv6/ip6_output.c:1885 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline] rawv6_sendmsg+0x1283/0x1320 net/ipv6/raw.c:956 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:817 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 0xffff888021cf7130 of 8 bytes by task 25999 on cpu 0: ip6_tnl_start_xmit+0x7f9/0x9e0 net/ipv6/ip6_tunnel.c:1468 __netdev_start_xmit include/linux/netdevice.h:4718 [inline] netdev_start_xmit include/linux/netdevice.h:4732 [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:1518 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x984/0xb20 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x2f1/0x320 net/ipv6/ip6_output.c:143 ip6_finish_output+0x39/0x160 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip6_output+0x10e/0x210 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:443 [inline] ip6_local_out+0x60/0x80 net/ipv6/output_core.c:179 ip6_send_skb net/ipv6/ip6_output.c:1865 [inline] ip6_push_pending_frames+0xb6/0x170 net/ipv6/ip6_output.c:1885 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline] rawv6_sendmsg+0x1283/0x1320 net/ipv6/raw.c:956 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:817 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: 0 PID: 25999 Comm: syz-executor.1 Not tainted 5.10.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================