HomeFreeBSD

tcp: Lro needs to validate that it does not go beyond the end of the mbuf as it…

Description

tcp: Lro needs to validate that it does not go beyond the end of the mbuf as it parses.

Currently the LRO parser, if given a packet that say has ETH+IP header but the TCP header
is in the next mbuf (split), would walk garbage. Lets make sure we keep track as we
parse of the length and return NULL anytime we exceed the length of the mbuf.

Reviewed by: tuexen, hselasky
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D31195

Details

Provenance
rrsAuthored on Jul 16 2021, 10:07 AM
Reviewer
tuexen
Differential Revision
D31195: tcp: Lro needs to validate that it does not go beyond the end of the mbuf as it parses.
Parents
rG7660e4ea5cb7: ixgbe: Print FW NVM and Option ROM versions
Branches
Unknown
Tags
Unknown