Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1117627rwi; Thu, 27 Oct 2022 11:22:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xP95BIc/4dyLNXQjIV11DPjdloW5S6x1KgiGVo7tYvQXN1N003cnb5Eg5QuQmHNrEZzhD X-Received: by 2002:a17:90b:f06:b0:212:cb07:fb82 with SMTP id br6-20020a17090b0f0600b00212cb07fb82mr11313624pjb.221.1666894968505; Thu, 27 Oct 2022 11:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894968; cv=none; d=google.com; s=arc-20160816; b=MWSQhW62EJoX/aDUtgVaeH8jiAB3Y8EgzB4LFwAtIMFeo4Pdfypb32+W0zH/SyBhUg 4RaWyeMU6l26IBvlmRHj1+zKDQnm2Gu6hRAmCf8/HczIYYXp3xlg+kLn5K9lqoA+gPFd XSFqFP/6PePGvJpB4BfxsskzjWnvOyKARNoDm7cU7l/VAjKJQsNS0pWTw+8ABXnqafcV d/F19uvBXSjUHfE1Rh91eE0YEkfcvkZaMbpWPCHWNYhP6KSXMHqOBlXvSCBSLaON+Jyw hUot+vzVnyT2lw+xjjXG0abagtinAX6sjpb/opEcliXfw4p9kRWTxr5AU8G5xJNp++zP WLwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=KaICaYZQdnRijpM/9PqpZiJSPOBKMyX46adYedTum6Q=; b=tKwc0z4d+82jzazdGoWmuqfW5ufPP1TdzRfanIHnuTabI5v0V0nKWPilnTGAWB1ok1 odsfGbaeWCdeiQGPcSTWrNgEWhR7uJN20LOd65lnbBI2+eFgCXqD5hb/66ErO56z6Jmg iNYQow/PMHaEeTFPuvgo9xTFxJiIh5JR+0eUJ1JfsK96QyXqdZ6i3YKbaYAMhtFrIPoG 1ibaCp5jo7IM/sc7CM020QpOm7fg+DvslwCKFVHhQPzNfyWgnuWjafMV0DdNNcMkPI6B XSWjls14QZMeOhzQkb+F/BsYPAt96HL2mAb9LxX5ROXAsuRONh1GqJlbALmoLFCECnJG oigg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=d4xslT+N; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij11-20020a170902ab4b00b00186dcc389a8si2228370plb.329.2022.10.27.11.22.32; Thu, 27 Oct 2022 11:22:48 -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=@gmail.com header.s=20210112 header.b=d4xslT+N; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234709AbiJ0SRD (ORCPT + 99 others); Thu, 27 Oct 2022 14:17:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235536AbiJ0SQx (ORCPT ); Thu, 27 Oct 2022 14:16:53 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B743823BE4 for ; Thu, 27 Oct 2022 11:16:51 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id b18so4674224ljr.13 for ; Thu, 27 Oct 2022 11:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KaICaYZQdnRijpM/9PqpZiJSPOBKMyX46adYedTum6Q=; b=d4xslT+NHEdUccpXNRlpWh/L6/99OtIEOL5A6LzmykEymPBPv5swT1mXsSYkqwMdqd 9ET77keTi7HbZG4R5BacNXhdoLp9c9pCBsfIltAPOh3GLConDaXtHeghmRua9pB9jy79 0gxQgHFvCteL9Rkaq7jwmaGN56qrR9a38GUbojaIgvnk6KcUcUxNfzMhevIquBQJrfhH kIgaQPV85nXbkhewV+f+86MHY9GXAPevlxx3VklKQHcaWbwv0TusLU5qM8vGQtZV6hlq cHaRiuO+tVfmHkqK8kuEeUH7wahspE1JiNaVeKAWWGfcy8OUZF9W0gt2FF7nOD1dvkde 7+KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KaICaYZQdnRijpM/9PqpZiJSPOBKMyX46adYedTum6Q=; b=e9cyR0o292cijKB0k5q5Dc1XeYUhwOMlOLgRWNzXbk5vApaiYwxE7Sz5oZOLoKobyR 6Njx4JKtVhYJR81dAcLi9m8+PwD9A7wmaPNakcnvwNNRsDgmoUGAOsnoRVJXtqmqhZlZ DDoJl/41NzhRrcHsH711c1uLYfrzb66ktD4XwnjqCcjC16mbUBpv0GuQLBbPseHqsuHR L8VXaM2MMwXVZP5RTN1Y2rJ8WjKeUgCmdsQhO6COo+oSyjjS21VPESK0Rc1kwitAdV5a Zz5OoQ8VKbFBVNqk/dhKy33HygqHOwdpCvpnZwNRP4C9P06T4rWj6HQ++TGumejglaDg KvyA== X-Gm-Message-State: ACrzQf3KYoStO6TZvpOI3D/7OxnBThjm0COuD6SeZXgxYIrleGthIRGP ApmTUJtT8rP2NwXAdUEOPSxLVFKxO9JkLnKXN2BLgUvpjmQ= X-Received: by 2002:a2e:8758:0:b0:26e:2dab:d4d2 with SMTP id q24-20020a2e8758000000b0026e2dabd4d2mr20329333ljj.297.1666894609838; Thu, 27 Oct 2022 11:16:49 -0700 (PDT) MIME-Version: 1.0 From: Jan Kasiak Date: Thu, 27 Oct 2022 14:16:36 -0400 Message-ID: Subject: NFS 4 GPF while processing compound with multiple reads To: Linux NFS Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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 Thank You, -Jan