Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2513256rwi; Fri, 28 Oct 2022 07:58:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7CoNmjrJrU6b9IDO9RxF1Durll7JfO0EuH7g/d1+o1k7v0b28r2cc36paGfZg/VpFEBIlw X-Received: by 2002:a17:902:8490:b0:186:a7f8:63b5 with SMTP id c16-20020a170902849000b00186a7f863b5mr28031993plo.57.1666969117164; Fri, 28 Oct 2022 07:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666969117; cv=none; d=google.com; s=arc-20160816; b=cIrSNIVW7wikVfS8s5jio7WNVKeRfveamxrUwWjNg9DWW+/j086WfZ79a6v6SHHnuT +7GNB+ttX+UFiiIZqLJU3a7mztfJnMlbhdy++EOEZGGS6zkVVkVmbO1oNHij4/GdaBcY GTscIwqOrioPULHI+kS5CzDSVOCtUkkj7AN2IP+2F4aCNl6Hw/Hpp5hV43i5t02xzWXA vNJzf/D7vzjZdHhlbaMiyK9w6hHaZFpZ2SnY0tSsvV4xod05CX5iRjBBtdrWYNp3jRfP pj/XsUOcQGVRdTSm0NpD5USe/efJSiSB+I/Zv6yXwsXTfSQszMrFIL0K+YTAqZNQlFrn RXFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date :dkim-signature:dkim-filter; bh=3BInrWdPz0qkcKTgqkWhUd29F6unsViZYMA7JT94jUw=; b=hpgVrnyouV84TyLa0TBgyiFcBtcqdd3hzWgEjmmjXlFnKIT8Y53yRCTf+GvArJS4Xn ZsSfgeH1hKRcT2K5ZOiWEDgb7hF8ZALZ2zQ9safi1EqBZPaWXUSqLEE8t8W+D17RhXrJ +Dpow7uwiCx4Wf2m16Qpbjxd9DHlRZYHfm6k+S07Flgcxk2glNHHPcKDHp66jZFONDjm yBekRsUbqfxmDf4YSHpeC72QEXqLNi3FA/ehpv6Rriu3uWqBuZmF8ejY3jOU3gJUbc1r 7rmkcFrfyr82pkRnW/PM8ryouIxiPoU7GR45OhKcScUrTBvxXeNn8+ntsHQLSvbUqaQf xXMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=mGCFbeJn; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fieldses.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 144-20020a630696000000b00457523c57bcsi4625986pgg.354.2022.10.28.07.58.21; Fri, 28 Oct 2022 07:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@fieldses.org header.s=default header.b=mGCFbeJn; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fieldses.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbiJ1Ot1 (ORCPT + 99 others); Fri, 28 Oct 2022 10:49:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbiJ1OtF (ORCPT ); Fri, 28 Oct 2022 10:49:05 -0400 X-Greylist: delayed 376 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 28 Oct 2022 07:48:04 PDT Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D111FB7A0 for ; Fri, 28 Oct 2022 07:48:03 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 8D5753FCB; Fri, 28 Oct 2022 10:41:46 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 8D5753FCB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1666968106; bh=3BInrWdPz0qkcKTgqkWhUd29F6unsViZYMA7JT94jUw=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=mGCFbeJnht4oF9/Ctz7ZwygEU+Wm9b4e+rXNN90T416M0uaDIwZF4EkMJNxwipW6h 9ihWr/HnRPDCLQXap+L2iC+gIF9x/F97ai6EULq09vQMNK2jWay7J0uOCHHTOwHEqH ltWpt7Ko25qHlKsyuE20tqqHfpWl9uiTG0CI0oV0= Date: Fri, 28 Oct 2022 10:41:46 -0400 To: Chuck Lever III Cc: Linux NFS Mailing List Subject: Re: Fwd: NFS 4 GPF while processing compound with multiple reads Message-ID: <20221028144146.GA25371@fieldses.org> References: <54463F56-C3EE-431B-9BEE-8B805AD011B9@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54463F56-C3EE-431B-9BEE-8B805AD011B9@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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-nfs@vger.kernel.org On Thu, Oct 27, 2022 at 07:12:07PM +0000, Chuck Lever III wrote: > > > > Begin forwarded message: > > > > From: Jan Kasiak > > Subject: NFS 4 GPF while processing compound with multiple reads > > Date: October 27, 2022 at 2:16:36 PM EDT > > To: Linux NFS Mailing List > > > > Hi all, > > > > While writing my own NFS client, I have found a simple test case that > > triggers a general protection fault on the NFS server. > > > > The NFS 4 compound is: PUT_FH, READ, READ > > The second read causes the fault. > > > > More information, including how to reproduce the bug is available in > > the bug tracker: https://bugzilla.linux-nfs.org/show_bug.cgi?id=402 > > Bruce, are you interested in applying: > > https://bugzilla.linux-nfs.org/show_bug.cgi?id=402#c2 Applied and pushed out. (But not actually tested! Let me know if there's a problem.) --b.