google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.87k stars 1.3k forks source link

netstack: check the TCP write list for validity before increasing SND.NXT #11211

Closed copybara-service[bot] closed 3 days ago

copybara-service[bot] commented 3 days ago

netstack: check the TCP write list for validity before increasing SND.NXT

Writing a segment not actually in the write list could be causing the SND.NXT/writeList out of sync bug. This will panic early with a useful stack trace if that's the case.