News for hackers. Stuff that matters.
Re:Linux kernel bug delivers corrupt TCP/IP data by ajross on Friday February 12, 2016 @12:00PM (#11088602)
The hardware does do checksumming at the link layer (usually). This is talking about the TCP checksum, which is an essentially redundant (and 16 bit!) sum higher up the protocol stack. Honestly it's mostly useless as an error detection mechanism. But it's required per spec to be validated, and the veth devices apparently didn't.
Re:Linux kernel bug delivers corrupt TCP/IP data by evanj on Friday February 12, 2016 @12:21PM (#11088738)
Its actually very useful, although very weak. The link layer check, at least in the case of Ethernet, really only protects your data "on the wire". It doesn't protect it inside the switches. It turns out there are failure modes, such as the one that caused this issue, where the packets get corrupted inside the switch (probably due to bad RAM). Details about how this can happen: http://www.evanjones.ca/tcp-and-ethernet-checksums-fail.html

After this kernel bug was fixed, the TCP checksum did its job and discarded all the corrupt packets.