Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3134404rwo; Mon, 24 Jul 2023 06:49:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6oCHV0oXlYGx7mt8dvacYF9bZ00TPIIuX4JWyH0lsXOUnCC8fno8eZthzk+nB4+xkTGlo X-Received: by 2002:aa7:c451:0:b0:522:27ea:58b with SMTP id n17-20020aa7c451000000b0052227ea058bmr3788803edr.39.1690206596144; Mon, 24 Jul 2023 06:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690206596; cv=none; d=google.com; s=arc-20160816; b=WpVzi4VH45iWxzKVRG1B0ONXlSz9gFqzZaIxtDvAtawLcDxD8gbzyziL1GX3cDAaeJ BgiCop6M7RAKdJ4FavtZsq0tcPrWM7pcZXd4GJpENcSy75MwOIn3gjLoahcuvJqNhXtv HmxXQ3iNOFo9CXiR1Jb3Hdg8ylpugol1VgDpCw9zNyZ8lpbKjgs1K9uR793BHaAzaQdi HCIwYG6GYTFAzkPNffhr64FxaibrXObY8HQvM+1CA0/YkUGbc4eeadCRW/tvfk9ngHnL bKWVdiptNO5z+Xn8xBd8OrI+of3dGNXkd1eiAktHy9yiF76b4NXGvE419XG37NXL21KM i1lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=f4KQ/tLol2JTMF9SoFlYCSkzvClZr/k6u6hh/oPakP4=; fh=iCevtMkdmLrn1ImalA20YmwZ0lZruy7aFA5xWa64bUc=; b=XyvQm3cFMHrEhWP7azNod1EeGTTBAfv+xzua+phu0SHLCSJAqXGyMpJ/c4n3fsXuLq 50cOGbdXFcB1Z1o3/dYimcF0bQCChs9zPD9c3cG7bI7yz+V7KFcezmD5B1S7QO205WNN YaJsd/jZRkqLm3YH6HEJw4i5BcfImNXylwerUGt53bDOCUSHbLSCGlnQSC4me9SiYc+p 2GQlFyBlJOoO4w88XjeqrKxT0T/+anEu5JRj9/u45Ajv58J1ZLrWL9oIh4arLwTYaTPz 8AucmqNv4C7tIl6CD89jZxR+jOiLFxFogk8DNdT6NhRooFJzHEzYcTH20az5/aTIN4J6 lZ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C54Uy60c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a056402160f00b0051e15629c02si6724323edv.564.2023.07.24.06.49.31; Mon, 24 Jul 2023 06:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=C54Uy60c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230270AbjGXNSE (ORCPT + 99 others); Mon, 24 Jul 2023 09:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbjGXNSC (ORCPT ); Mon, 24 Jul 2023 09:18:02 -0400 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 D1174DA for ; Mon, 24 Jul 2023 06:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690204635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f4KQ/tLol2JTMF9SoFlYCSkzvClZr/k6u6hh/oPakP4=; b=C54Uy60caZtkkJNESvMeQ4Oi/x5XIQFMoa/5mIansrjwsdAWGalnTEBi7ktHCCsrx0gO/f sgWE4WbwwSSeihXYo7kFj52/F/7URoAJStq+6M6m2CB3qP2kY/PHUQq0jjwmOvzHe1rhNf xPjZCuyk5D9ILysWkeNqaS6X2FUGfbo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-526-F2Wq1qF6PVuCC9PMRtj6hg-1; Mon, 24 Jul 2023 09:17:11 -0400 X-MC-Unique: F2Wq1qF6PVuCC9PMRtj6hg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 73D201010427; Mon, 24 Jul 2023 13:17:10 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id D8ECA200BA63; Mon, 24 Jul 2023 13:17:08 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <0000000000001416bb06004ebf53@google.com> References: <0000000000001416bb06004ebf53@google.com> To: syzbot Cc: dhowells@redhat.com, bpf@vger.kernel.org, brauner@kernel.org, davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Subject: Re: [syzbot] [fs?] INFO: task hung in pipe_release (4) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <145369.1690204627.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Jul 2023 14:17:07 +0100 Message-ID: <145370.1690204627@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Note that the test program is dodgy: pipe(&(0x7f0000000100)=3D{0xffffffffffffffff, 0xffffffff= ffffffff}) r2 =3D socket$inet_udp(0x2, 0x2, 0x0) r2 is closed here: close(r2) r3 =3D socket$inet_udp(0x2, 0x2, 0x0) setsockopt$sock_int(r3, 0x1, 0x6, &(0x7f0000000140)=3D0x32, 0x4) bind$inet(r3, &(0x7f0000000000)=3D{0x2, 0x0, @dev=3D{0xac, 0x14, 0x14,= 0x15}}, 0x10) connect$inet(r3, &(0x7f0000000200)=3D{0x2, 0x0, @broadcast}, 0x10) sendmmsg(r3, &(0x7f0000000180)=3D[{{0x0, 0x0, 0x0}}, {{0x0, 0xffffffff= fffffed3, &(0x7f0000000940)=3D[{&(0x7f00000006c0)=3D'O', 0x57e}], 0x1}}], = 0x4000000000003bd, 0x8800) write$binfmt_misc(r1, &(0x7f0000000440)=3DANY=3D[], 0x8) but then used here: splice(r0, 0x0, r2, 0x0, 0x4ffe0, 0x0) As it happens, r3 will probably end up referring to the same fd as r2 did,= but that's not guaranteed. David