Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp800439rwd; Thu, 15 Jun 2023 02:08:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57oIBZSyPEonA6XyY7Xq1HURKqBFt9wOaoNw+NmwTvxvydM+ij2EUq7AvU7l9ULlU9IWX3 X-Received: by 2002:a50:ef08:0:b0:514:8d9d:33a2 with SMTP id m8-20020a50ef08000000b005148d9d33a2mr10099820eds.13.1686820121945; Thu, 15 Jun 2023 02:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686820121; cv=none; d=google.com; s=arc-20160816; b=T1jl/v5lIi7c8dX7k5JwqF1ql7Kr+qkEd/WrVrpeC+xslZbpAvI2Ox4TF25LnWaj3K I/brR0VUk+J+GGXTSceCZcUicNPs3TggWXHpZDxZkuEZuLHH1yrluGBLgtoenWWUzYs+ 7KPKt16DGRf7KLKlcMTPWmL2WMxJq9owmHnU4J5BfvFGNITqweD7JY/XQMLlXxarXENU fKFG0nJc/HbRf7B5tYUBkeMTbLQgBs5h8cWO3LGh3MDWVjSk+S0aDowzeU7lSXNMZZnl rKd8ns7ACxQFIEd4aF8NVxdIN5EezxQ1d2Asmmurb/1CwQ9IDX0prY4f7VtC+N46u9FU agQQ== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=lV7QLu3dQCxU7BpztxvUiYaqzC4koTpfwg/H3VXhuQw=; b=fBUIT8Vqb6s8qcpLXGzR5StN2p7bswm2eMjoPcH3EcxwmL+3RxWw26lpBCrD0NLHQp iL2N1tsjSqU1wDxzYetH1OfZ9KQYATYoERwBDFEssBxVPJfWabhaoREUk9IwM3+YA7e4 vA3ituFvkTN9+B5YRLvAXbx375zKvz5cNVAdoYswjCjfGQ+C9kDG7/lmesK67j7V23wG 9x8p/TN6zuUeXKPu7XTYIkyIUssCqrHOwN3rIGf0nGcGvx27w8C2X1xf/V7s/5qcHkuo AIju7/jrlw6UqWqPYR9CxPfYXZUe8hR1x3QFrs3huOxyPFlIohIcXsZE/ubIr4uQOu3p TbVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F5LzRUtk; 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 l17-20020a056402345100b0051a1fc52396si1017983edc.392.2023.06.15.02.08.08; Thu, 15 Jun 2023 02:08:41 -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=F5LzRUtk; 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 S239224AbjFOIzy (ORCPT + 99 others); Thu, 15 Jun 2023 04:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236407AbjFOIzw (ORCPT ); Thu, 15 Jun 2023 04:55:52 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9EA171F for ; Thu, 15 Jun 2023 01:55:51 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9827bd8e0afso191573666b.1 for ; Thu, 15 Jun 2023 01:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686819350; x=1689411350; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lV7QLu3dQCxU7BpztxvUiYaqzC4koTpfwg/H3VXhuQw=; b=F5LzRUtkbc+owwF0fBE5WC4VBb0fae9atAHmdJ5eiah/rOsQ4J6MyeumPDtP5L6o9X qk7o3f9VO3uDYH5U8sufXvpuf/GZ3nUT2XFcAlMfXfyhl28LqkkQz75QYxccDaLqTngi r3gyRKkekQB4Ksm74vDEQaEqhuaegeVW5XrN2Rvf/3jJGI6QGW5JhP9BtJpwtYmFGjaz 6GJi42drqAvF5RMsmV8k2qwYEM9EAEAtMDR6mPWHQpi7tMETWDxcOlRUNdHTHcyW9vG4 JEcQAVZKrAVCyBYjAZohcs2RdybcIzeV+Nv7dwYwcqIxY5tf5RaAV+yYVsVLqWuTxqPM PqBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686819350; x=1689411350; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lV7QLu3dQCxU7BpztxvUiYaqzC4koTpfwg/H3VXhuQw=; b=XEf8hMaOfYQGHXWUwfFMQrclUm2OvQvLfoC0RwMXuokHFblF+Pt1g9rRc1cFQ8luc0 AyvLtMhBusDS4FP2fIkGS2yuB/kNIqXVkdXueNOZHOE8aM91CxNv9DPMr16kVNa4hRjb cw7m/0OqNlfCDCSM4TD0JKADf5/ifpJMRqR6/sGs4hRt6btlsleY6x3JCSVAmXV1qwv9 b+O5TWi8ZwtWI9Bwf/Ta9sj42Tys87lAI2/Z/lUIMo9g3vz8/JYS2Eetb3L0SsKVt3WT eQ6zIELTbspAhYymRp6Pm0B72Pl2QVZ7Zh/yrwSkfBugWZ0nSvKDxBKxELmOpwPByruu oWrg== X-Gm-Message-State: AC+VfDyBGo2316qftVhoUp7Qx8r8A1lDDoXqcyz/StoPVseHeRzd/0+Z BrR9KCeO2uEwgfy4eRdAEC8cKQ== X-Received: by 2002:a17:907:26ca:b0:974:1e0e:9bd4 with SMTP id bp10-20020a17090726ca00b009741e0e9bd4mr17990075ejc.16.1686819349690; Thu, 15 Jun 2023 01:55:49 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id u3-20020a17090617c300b009788dfde0b2sm9157169eje.12.2023.06.15.01.55.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Jun 2023 01:55:49 -0700 (PDT) Message-ID: Date: Thu, 15 Jun 2023 10:55:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Regression: NULL pointer dereference after NFS_V4_2_READ_PLUS (commit 7fd461c47) Content-Language: en-US From: Krzysztof Kozlowski To: Anna Schumaker Cc: Trond Myklebust , Anna Schumaker , linux-nfs , Linux Kernel Mailing List , "regressions@lists.linux.dev" References: <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> <86d8e252-975f-5d48-4567-0911d5ef9a44@linaro.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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 15/06/2023 10:52, Krzysztof Kozlowski wrote: > On 14/06/2023 22:55, Anna Schumaker wrote: >>>>> 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. >> >> Can you try the attached patch on top of my 3-patch series from the >> other day, and let me know what gets printed out? It adds a bunch of >> printk()s at strategic points to print out what is going on with the >> xdr scratch buffer since it's suddenly a bad memory address after >> working for a bit on your machine. >> > > Here you have entire log - attached (113 kB, I hope goes past mailing > lists/spam filters). As expected this bounced from the mailing lists, but I hope you got it. If not, let me know. Best regards, Krzysztof