[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170201.125608.445685471651002821.davem@davemloft.net>
Date: Wed, 01 Feb 2017 12:56:08 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, dvyukov@...gle.com
Subject: Re: [PATCH net] tcp: fix 0 divide in __tcp_select_window()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 01 Feb 2017 08:33:53 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> syszkaller fuzzer was able to trigger a divide by zero, when
> TCP window scaling is not enabled.
>
> SO_RCVBUF can be used not only to increase sk_rcvbuf, also
> to decrease it below current receive buffers utilization.
>
> If mss is negative or 0, just return a zero TCP window.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
> ---
> No Fixes: tag, this is a day-0 bug.
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists