Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6057987rdb; Thu, 14 Dec 2023 07:18:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE251oSar/8tSbqDHx1wXF9hrXr2a6sIhrGD90kJ8LotaQMVFzW0ZTh4HwSyrS59zWAdxjA X-Received: by 2002:a05:6a20:2926:b0:18f:97c:617f with SMTP id t38-20020a056a20292600b0018f097c617fmr9616828pzf.124.1702567135832; Thu, 14 Dec 2023 07:18:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702567135; cv=none; d=google.com; s=arc-20160816; b=kpSO+zjQIT806NxJetUYHTVvld68clS313QdHeqfdVMP+WWGXF65qer7XMvqRu9Vwk q0xfSq6GT6jm3YiF4gI3C13DZ/Acera/RUNegC4P93M+EXbI7MbLcSFO/fadw99G8akm wMg/0w/w/1Sx6g17lsXIIRRdDFpUQwXXFIsmznS6HCWCEd3HJCilgswdhEal4yYa+cBX QHqUAzuTFUm+LWom1892BF0H9H6uo07YIGs7sKXgBenrH3W7jEu7TTrKRk9j7+BrsTsa ytBcUz7ZZWCFJ3rfQLlW+qQadjXl+agzZkREb2ZQl2tudoFND3sTlXLHHgC7sniDSTFc QDMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:dkim-signature; bh=uouXIP/mY6V89mn8ffGDizGjbA5gvdMVTlnAPaRcEZY=; fh=YvSF3pWcsmrFw8bC6dNQpt9G/Vsu5mIXfKfYaMWbWw0=; b=acuvZ1MObo8pqaap/80TuxsomryEZxUrrbj3+aMuk033+wPFJQXmnhH94hUwotU8hs tUYi1gwIrXtoi26iOKsIJ0/mhXh1F/z6Y4K7tBxvnN3PavDEHqIYYrgqb5eOvKzE+guI cToK0EuHqpKXYPEwRvN3os2SyMkfGMiUrO1xxc9yhJoMMFjukO+2USxPI6ZEpb6yzfZV g6NX8B1+tnzSWTAqVz5vSJHZ087Q+7UmQ0tLCVEDgayaq56HyvXKSfb2mf5S/G1FK4yr lJIgolEWl/QlJoy9EusJW87iWgk0ezi+GvOxKq6d9/BPPGOImegB/wm65qOHdv6LQF4h SNVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L0Au00VY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l25-20020a63ba59000000b005c624afc0f3si11671484pgu.698.2023.12.14.07.18.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:18:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L0Au00VY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 19574833AB3E; Thu, 14 Dec 2023 07:18:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573686AbjLNPS1 (ORCPT + 99 others); Thu, 14 Dec 2023 10:18:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjLNPS1 (ORCPT ); Thu, 14 Dec 2023 10:18:27 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D159120 for ; Thu, 14 Dec 2023 07:18:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702567112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uouXIP/mY6V89mn8ffGDizGjbA5gvdMVTlnAPaRcEZY=; b=L0Au00VYVHL1qUBKfIqAOayJ4ho7ubYcR/YUHiwEJ8gP9SIiqOiyVISMyIAhDoX9AEKF7s OAdBfmTD1GztbwlzMoAiWsYC7bNGlZtWQ075lpnuNwYCp+yW1LnFK0Sv3bApdWOFl4dMrO rxt2mwPnR1UlLJMpIeaGGyQK4PXKOBU= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-220-xklQx0sXPYWJeZzTf_H8Ow-1; Thu, 14 Dec 2023 10:18:31 -0500 X-MC-Unique: xklQx0sXPYWJeZzTf_H8Ow-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a1f72871acdso134445366b.0 for ; Thu, 14 Dec 2023 07:18:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702567110; x=1703171910; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uouXIP/mY6V89mn8ffGDizGjbA5gvdMVTlnAPaRcEZY=; b=WQLIetAh1folJToIFCvsAkVQtMnIaP/luaEifB0xJAdu28xbwTWqZlV9YKmd9TCle4 Ty7Bqmrzbpgkgo2r7QD4e8cwi53jl2OV0+nBNvFmWff5xGfw1yuO30TnwPuxfcJvvGlm yZtTJHlXpoVl8AX8HhfYzn7wBx2xmMZorqR8Wlbt11tartzR/wyqFWYKvzHNSJoHelS9 bHWlxyUqVWKib9hz/4fpuy9lQSlpr57pWOWn0AGQTBWP1P5V+RFov7gbSk2p9gIBpdrE euZ5juArygdjZu8J7Xwi1M5C0BTytixZxtkHHR49+fr0wbrfAW+iCg2CS1+TWVKeiRDn iaHQ== X-Gm-Message-State: AOJu0Yx2CDJV2gI3weYtR5yzPF/L3+rv0PZKsykA4c65j/Od31wP1Hyv 4Q/0MHZzaMKcppyuZc4MqGsuCqnlSTX4HbtkC0PIbPQKKtbPRH+ayfib7Slm4R9lb0vctsO4tGu Q7E+T/GPKFE/+Nj/9xvVsLl38 X-Received: by 2002:a17:907:d384:b0:a1b:1daf:8270 with SMTP id vh4-20020a170907d38400b00a1b1daf8270mr11509614ejc.5.1702567110037; Thu, 14 Dec 2023 07:18:30 -0800 (PST) X-Received: by 2002:a17:907:d384:b0:a1b:1daf:8270 with SMTP id vh4-20020a170907d38400b00a1b1daf8270mr11509595ejc.5.1702567109820; Thu, 14 Dec 2023 07:18:29 -0800 (PST) Received: from gerbillo.redhat.com (146-241-252-36.dyn.eolo.it. [146.241.252.36]) by smtp.gmail.com with ESMTPSA id sn24-20020a170906629800b00a2310f34d0asm725097ejc.196.2023.12.14.07.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:18:29 -0800 (PST) Message-ID: <4837d1401e1610764eeea7446280de87d51912f6.camel@redhat.com> Subject: Re: [syzbot] [mptcp?] WARNING in mptcp_check_listen_stop From: Paolo Abeni To: syzbot , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, martineau@kernel.org, matttbe@kernel.org, mptcp@lists.linux.dev, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Date: Thu, 14 Dec 2023 16:18:27 +0100 In-Reply-To: <000000000000703582060c68aeab@google.com> References: <000000000000703582060c68aeab@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 07:18:43 -0800 (PST) X-Spam-Level: * On Wed, 2023-12-13 at 10:53 -0800, syzbot wrote: > syzbot has found a reproducer for the following issue on: >=20 > HEAD commit: 2513974cc3e1 Merge branch 'stmmac-bug-fixes' > git tree: net > console+strace: https://syzkaller.appspot.com/x/log.txt?x=3D116337fae8000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Db50bd31249191= be8 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D5a01c3a666e726b= c8752 > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for D= ebian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D1119061ee80= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D110ca006e8000= 0 It looks like tcp_diag_destroy is closing the listener subflow, while the mptcp stack is not expecting anyone to touch it while in listener status. I guess we can relax the mptcp_check_listen_stop checks. /P=20