WARNING: DATA RACE Write at 0x00c0027af328 by goroutine 1453: gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).reset() pkg/tcpip/stack/packet_buffer.go:201 +0x78 gvisor.dev/gvisor/pkg/tcpip/stack.NewPacketBuffer() pkg/tcpip/stack/packet_buffer.go:167 +0x66 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write() pkg/tcpip/link/tun/device.go:231 +0x3d6 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write() pkg/sentry/devices/tundev/tundev.go:146 +0x236 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write() pkg/sentry/vfs/file_description.go:657 +0x130 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write() pkg/sentry/syscalls/linux/vfs2/read_write.go:345 +0xed gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write() pkg/sentry/syscalls/linux/vfs2/read_write.go:314 +0x307 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:103 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:238 +0xb3 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:198 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:173 +0x213 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x12c6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x352 Previous read at 0x00c0027af328 by goroutine 1615: gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).Clone() pkg/tcpip/stack/packet_buffer.go:327 +0x93 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).deliverOutboundPacket.func1() pkg/tcpip/stack/nic.go:824 +0xd8 gvisor.dev/gvisor/pkg/tcpip/stack.(*packetEndpointList).forEach() pkg/tcpip/stack/nic.go:133 +0xf5 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).deliverOutboundPacket() pkg/tcpip/stack/nic.go:802 +0x214 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).writePacket() pkg/tcpip/stack/nic.go:380 +0x1c6 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).WritePacketToRemote() pkg/tcpip/stack/nic.go:371 +0xef gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).sendNDPNS() pkg/tcpip/network/ipv6/ndp.go:1938 +0x594 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).LinkAddressRequest() pkg/tcpip/network/ipv6/icmp.go:913 +0x376 gvisor.dev/gvisor/pkg/tcpip/stack.(*neighborEntry).handlePacketQueuedLocked.func1() pkg/tcpip/stack/neighbor_entry.go:397 +0x51e gvisor.dev/gvisor/pkg/sentry/kernel/time.AfterFunc.func1.1() pkg/sentry/kernel/time/util.go:57 +0x42