WARNING: DATA RACE Write at 0x00c0018b4148 by goroutine 5616: gvisor.dev/gvisor/pkg/buffer.(*ViewList).Remove() bazel-out/k8-fastbuild/bin/pkg/buffer/view_list.go:190 +0xe4 gvisor.dev/gvisor/pkg/buffer.(*Buffer).removeView() pkg/buffer/buffer.go:36 +0x46 gvisor.dev/gvisor/pkg/buffer.(*Buffer).advanceRead() pkg/buffer/buffer.go:128 +0x8f gvisor.dev/gvisor/pkg/buffer.(*Buffer).TrimFront() pkg/buffer/buffer.go:83 +0xa9 gvisor.dev/gvisor/pkg/tcpip/stack.MergeFragment() pkg/tcpip/stack/packet_buffer.go:607 +0x96 gvisor.dev/gvisor/pkg/tcpip/network/internal/fragmentation.(*reassembler).process() pkg/tcpip/network/internal/fragmentation/reassembler.go:174 +0x11a4 gvisor.dev/gvisor/pkg/tcpip/network/internal/fragmentation.(*Fragmentation).Process() pkg/tcpip/network/internal/fragmentation/fragmentation.go:201 +0xb08 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processFragmentExtHdr() pkg/tcpip/network/ipv6/ipv6.go:1870 +0xb47 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeader() pkg/tcpip/network/ipv6/ipv6.go:1455 +0x848 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeaders() pkg/tcpip/network/ipv6/ipv6.go:1509 +0x484 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).deliverPacketLocally() pkg/tcpip/network/ipv6/ipv6.go:1397 +0x198 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleValidatedPacket() pkg/tcpip/network/ipv6/ipv6.go:1376 +0x4b7 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).HandlePacket() pkg/tcpip/network/ipv6/ipv6.go:1146 +0xcd4 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket() pkg/tcpip/stack/nic.go:769 +0x1ea gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket() pkg/tcpip/link/nested/nested.go:61 +0xc1 gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).DeliverNetworkPacket() pkg/tcpip/link/packetsocket/packetsocket.go:47 +0x5e gvisor.dev/gvisor/pkg/tcpip/link/channel.(*Endpoint).InjectInbound() pkg/tcpip/link/channel/channel.go:207 +0xc1 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write() pkg/tcpip/link/tun/device.go:250 +0x805 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write() pkg/sentry/devices/tundev/tundev.go:163 +0x591 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write() pkg/sentry/vfs/file_description.go:679 +0x144 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.write() pkg/sentry/syscalls/linux/sys_read_write.go:347 +0xa4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Write() pkg/sentry/syscalls/linux/sys_read_write.go:316 +0x38e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:143 +0xb9e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:323 +0x84 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:283 +0xc6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:258 +0x549 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:269 +0x2294 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x41a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:400 +0x44 Previous read at 0x00c0018b4148 by goroutine 5619: gvisor.dev/gvisor/pkg/buffer.(*ViewList).Front() bazel-out/k8-fastbuild/bin/pkg/buffer/view_list.go:52 +0x33 gvisor.dev/gvisor/pkg/buffer.(*Buffer).PullUp() pkg/buffer/buffer.go:313 +0x118 gvisor.dev/gvisor/pkg/tcpip/stack.(*PacketBuffer).headerView() pkg/tcpip/stack/packet_buffer.go:364 +0x184 gvisor.dev/gvisor/pkg/tcpip/stack.PacketHeader.Slice() pkg/tcpip/stack/packet_buffer.go:504 +0x58 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).processExtensionHeaders() pkg/tcpip/network/ipv6/ipv6.go:1508 +0x448 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).deliverPacketLocally() pkg/tcpip/network/ipv6/ipv6.go:1397 +0x198 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).handleValidatedPacket() pkg/tcpip/network/ipv6/ipv6.go:1376 +0x4b7 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).HandlePacket() pkg/tcpip/network/ipv6/ipv6.go:1146 +0xcd4 gvisor.dev/gvisor/pkg/tcpip/stack.(*nic).DeliverNetworkPacket() pkg/tcpip/stack/nic.go:769 +0x1ea gvisor.dev/gvisor/pkg/tcpip/link/nested.(*Endpoint).DeliverNetworkPacket() pkg/tcpip/link/nested/nested.go:61 +0xc1 gvisor.dev/gvisor/pkg/tcpip/link/packetsocket.(*endpoint).DeliverNetworkPacket() pkg/tcpip/link/packetsocket/packetsocket.go:47 +0x5e gvisor.dev/gvisor/pkg/tcpip/link/channel.(*Endpoint).InjectInbound() pkg/tcpip/link/channel/channel.go:207 +0xc1 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write() pkg/tcpip/link/tun/device.go:250 +0x805 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write() pkg/sentry/devices/tundev/tundev.go:163 +0x591 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write() pkg/sentry/vfs/file_description.go:679 +0x144 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.write() pkg/sentry/syscalls/linux/sys_read_write.go:347 +0xa4 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Write() pkg/sentry/syscalls/linux/sys_read_write.go:316 +0x38e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:143 +0xb9e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:323 +0x84 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:283 +0xc6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:258 +0x549 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:269 +0x2294 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x41a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:400 +0x44