netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, dvyukov@google.com
Subject: Re: [PATCH net] tcp: fix 0 divide in __tcp_select_window()
Date: Wed, 01 Feb 2017 12:56:08 -0500 (EST)	[thread overview]
Message-ID: <20170201.125608.445685471651002821.davem@davemloft.net> (raw)
In-Reply-To: <1485966833.6360.149.camel@edumazet-glaptop3.roam.corp.google.com>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 01 Feb 2017 08:33:53 -0800

> From: Eric Dumazet <edumazet@google.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@google.com>
> Reported-by: Dmitry Vyukov  <dvyukov@google.com>
> ---
> No Fixes: tag, this is a day-0 bug.

Applied and queued up for -stable, thanks Eric.

      parent reply	other threads:[~2017-02-01 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 16:33 [PATCH net] tcp: fix 0 divide in __tcp_select_window() Eric Dumazet
2017-02-01 16:41 ` Neal Cardwell
2017-02-01 17:56 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170201.125608.445685471651002821.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dvyukov@google.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).