Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbdCCS1V (ORCPT ); Fri, 3 Mar 2017 13:27:21 -0500 Received: from mail-it0-f49.google.com ([209.85.214.49]:33164 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752002AbdCCS1S (ORCPT ); Fri, 3 Mar 2017 13:27:18 -0500 MIME-Version: 1.0 In-Reply-To: References: From: Eric Dumazet Date: Fri, 3 Mar 2017 10:25:59 -0800 Message-ID: Subject: Re: net/ipv4: division by 0 in tcp_select_window To: Dmitry Vyukov Cc: David Miller , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev , LKML , Cong Wang , syzkaller Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 435 Lines: 12 On Fri, Mar 3, 2017 at 10:10 AM, Dmitry Vyukov wrote: > Hello, > > The following program triggers division by 0 in tcp_select_window: > > https://gist.githubusercontent.com/dvyukov/ef28c0fd2ab57a655508ef7621b12e6c/raw/079011e2a9523a390b0621cbc1e5d9d5e637fd6d/gistfile1.txt Yeah, tcp_disconnect() should never have existed in the first place. We'll send a patch, unless you take care of this before us . Thanks.