Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3196948rwd; Sat, 10 Jun 2023 03:27:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+a8clrd17to/sChKQUz38wrWMOG9wXFbtd3Oz7KNyrR9IyQxoJk38K/uAd3SpcxYvQQkk X-Received: by 2002:a17:902:ce12:b0:1b1:99c9:8ce5 with SMTP id k18-20020a170902ce1200b001b199c98ce5mr1546572plg.16.1686392852902; Sat, 10 Jun 2023 03:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686392852; cv=none; d=google.com; s=arc-20160816; b=UTYn/fn6AvD7Q1uUJJ7ufEEtE0HNwo8VT6c1WQVBjkn4vl6dMTWPltlF0y9+G9/k0S PvQrrVhUr3G5DvjBStAC/HT1VqBmKMpID3yODV23zKgrJ3naA3ZxBWnzq/7QIf/Zqpbo IiEeuCTKVEuqWJdWl4a275Jdrg7CxB61bIM+TmB9/mXTIa51y1FC9VI7vmRBLkGKOBhc +W7nAYdqoezc7RJa/IAywh0sld6SqUvfxSfMKsZbm5pAj4Lhz9lMU/9B8imDwet2Re0Q pSJNZLOl1egtw6oqVQmPjtpsJjO4akWDcUNNaGdslOFJKQ/QRyNvy92b/tXeYclVIBnx 63ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ocEa74Vi89cO2z8zXldBEe8uWhsWcgE3EnruaUyyG6A=; b=AxiNfEA0OjMRWhxg95dER0peimWfeuQYt+ckpIwPN6BhjGyhEKkeUcpSkdmMdCb+Kq Ng5UEkXvleJQm6X81GLJOjar0Q1RC4Jg5xzJUt6WF02QkEaHBWNm81oyd0cUOoTzx0Q2 zX0EqDQdNv24GeSW221ym2LxlZC5stNpBQT8t7zaGPfTOGdJFDL2f1vnIuVeDSa4nxDA 4ogoMvDsQbkIHAqco3KvpG2yP3qwxICQ6EU/qQRVcBtmNrZg41NwVa02j5+OaZiO862F LxjkkH5XJ21hXsMnz65T5OLLieup4y8eM2ILsps/GbEC+6Ud/l8rB6LdCmVxC+Yw7+Ev 75Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iSskDd85; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020a170902ec8900b001b216490170si325476plg.258.2023.06.10.03.27.13; Sat, 10 Jun 2023 03:27:32 -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=@linaro.org header.s=google header.b=iSskDd85; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229867AbjFJKPc (ORCPT + 99 others); Sat, 10 Jun 2023 06:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjFJKPb (ORCPT ); Sat, 10 Jun 2023 06:15:31 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67E01358E for ; Sat, 10 Jun 2023 03:15:30 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5162d2373cdso4599609a12.3 for ; Sat, 10 Jun 2023 03:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686392129; x=1688984129; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ocEa74Vi89cO2z8zXldBEe8uWhsWcgE3EnruaUyyG6A=; b=iSskDd85C+HHzGDa4RdZtW28HtNbYcY25JR/exMSVHFY8SBHJU5j5WgJDz02bLK/u/ /IdE5incZ3qS8hAKZFNeYNzykmJPPDQkzXts3wJBOt9GfXnljNUsLb2GQhnvk9CHT9ZQ LzpTro3TjXqfg0Kx+cGH4VlFelA1xCXbS5Y/IQRSoyrgl9lpXTFDXxkAINmNt+OTy8mA 6UGYqOyIhk8b8XiTQl7DcaOIxg1LOrOEUC5CGJ6iSzdMDtKYVXCmaJ1r/LUbr8WMsP5M n4EdFN4QwTASmn3grJdr8N8d285mZmJ7NA62Yy228+VIWYyVlq9emYztq/4aYu4t5iu8 4nwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686392129; x=1688984129; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ocEa74Vi89cO2z8zXldBEe8uWhsWcgE3EnruaUyyG6A=; b=hAFMj80FPo7unzU/V1SUz3QeFYHTPAeraOWhE4sHURL6/anayZdDbDGNbs9EivI/Uo q4/2Z5rUpT4KvtjJUdsipSteGS7/gAWkh6qlzirmZkEpnaXYctazeG3rE+TYXuANXNOL VxdqydoGnGzd30aoh9FcrWoMC5BvPjf4V2W0wCNt8cVdCwBsKvdq1682ogW+YkXn7aQ9 DvPKdm9RrkSVBsQBnnH3Y4XA/VwpLrCEl8BFWJPwbTMgZMGJq4WmW+47uYU1ppBqi/MZ zrw7tLgwJIVGQK7czgDQU72Nufe6bS/NxOEoStSKGjztVQDLuDr075VvcVTr7bNL1fyE 3izg== X-Gm-Message-State: AC+VfDwU3ngxp8QwJdtQ4fdaDcaFljag/TnxDErrxAsoR+k2NoyM2C5F 5pPCHfx/rfOWTL8TwwpXdWItZQ== X-Received: by 2002:a05:6402:455:b0:510:ddad:fae6 with SMTP id p21-20020a056402045500b00510ddadfae6mr1066249edw.3.1686392128860; Sat, 10 Jun 2023 03:15:28 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id g16-20020aa7d1d0000000b0050bc4600d38sm2711556edp.79.2023.06.10.03.15.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Jun 2023 03:15:28 -0700 (PDT) Message-ID: <86d8e252-975f-5d48-4567-0911d5ef9a44@linaro.org> Date: Sat, 10 Jun 2023 12:15:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: Regression: NULL pointer dereference after NFS_V4_2_READ_PLUS (commit 7fd461c47) Content-Language: en-US To: Anna Schumaker Cc: Trond Myklebust , Anna Schumaker , linux-nfs , Linux Kernel Mailing List , "regressions@lists.linux.dev" References: <82526863-d07a-0a5d-2990-1555b1387f26@linaro.org> <2C5E9725-F152-4D2E-882E-CF92A35481BF@hammerspace.com> <7ba38377-7992-7f0f-d905-cceb42510f39@linaro.org> <51430925-8046-7066-84ed-2ff0db835347@linaro.org> <2add1769-1458-b185-bc78-6d573f61b6fc@linaro.org> <32530c36-91d0-d351-0689-aed6a0975a4b@linaro.org> <2f285607-cbf9-6abc-f436-edb6e9a3938b@linaro.org> <4fe39d77-eb7c-a578-aefa-45b76e2247c2@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 06/03/2023 18:09, Anna Schumaker wrote: > Hi Krzysztof, > > On Tue, Feb 14, 2023 at 6:02 AM Krzysztof Kozlowski > wrote: >> >> On 12/02/2023 15:05, Anna Schumaker wrote: >>>>> From ac2d6c501dbcdb306480edaee625b5496f1fb4f5 Mon Sep 17 00:00:00 2001 >>>>> From: Anna Schumaker >>>>> Date: Fri, 10 Feb 2023 15:50:22 -0500 >>>>> Subject: [PATCH] NFSv4.2: Rework scratch handling for READ_PLUS >>>>> >>>> >>>> Patch is corrupted - maybe mail program reformatted it when sending: >>>> >>>> Applying: NFSv4.2: Rework scratch handling for READ_PLUS >>>> error: corrupt patch at line 12 >>>> Patch failed at 0001 NFSv4.2: Rework scratch handling for READ_PLUS >>> >>> That's weird. I wasn't expecting gmail to reformat the patch but I >>> guess it did. I've added it as an attachment so that shouldn't happen >>> again. >> >> Still null ptr (built on 420b2d4 with your patch): > > We're through the merge window and at rc1 now, so I can spend more > time scratching my head over your bug again. We've come up with a > patch (attached) that adds a bunch of printks to show us what the > kernel thinks is going on. Do you mind trying it out and letting us > know what gets printed out? You'll need to make sure > CONFIG_NFS_V4_2_READ_PLUS is enabled when compiling the kernel. The patch does not apply. I tried: v6.4-rc1, v6.4-rc5, next-20230609. Best regards, Krzysztof