Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 17:21:55 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Michael Tuexen <tuexen@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r352868 - in head/sys/netinet: . tcp_stacks
Message-ID:  <20190930142155.GC38096@zxy.spb.ru>
In-Reply-To: <201909291045.x8TAjD6J066797@repo.freebsd.org>
References:  <201909291045.x8TAjD6J066797@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 29, 2019 at 10:45:13AM +0000, Michael Tuexen wrote:

> Author: tuexen
> Date: Sun Sep 29 10:45:13 2019
> New Revision: 352868
> URL: https://svnweb.freebsd.org/changeset/base/352868
> 
> Log:
>   RFC 7112 requires a host to put the complete IP header chain
>   including the TCP header in the first IP packet.
>   Enforce this in tcp_output(). In addition make sure that at least
>   one byte payload fits in the TCP segement to allow making progress.
>   Without this check, a kernel with INVARIANTS will panic.
>   This issue was found by running an instance of syzkaller.

How to posible this?
Host required to handle packets up to 576 bytes, how to IP and TCP
options can exhaust this size?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190930142155.GC38096>