Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3530171pxu; Mon, 30 Nov 2020 05:16:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwQ00j4dYBup7yJ65D0Sb1YiKk6mT9woo7MtyEkGo8RKYgB174Zn67emxXsqnDO4xQ4OwY X-Received: by 2002:ac2:53bc:: with SMTP id j28mr9215647lfh.39.1606742214548; Mon, 30 Nov 2020 05:16:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606742214; cv=none; d=google.com; s=arc-20160816; b=mux9fDuXEv2jd54MbHfrUDP0pyR5uo7Q0cp8kG1+DgE3XNvA7+Kp8Uc//RciFt3don SSw6NVvRxEZiR30eS27S+IZn5G2CGD3a9/GA7/dfLpfZioSxB9j8HFCQYmRUv3evX8kt RInXr8Zxj1dzotQJ9Q608Cuo647SjJF5sLsJRKoip9rOLdp3xJZPRUVPmhf8XErZnT9U kmzhd5qnZRpG46uOYkZEwFIyDqP+oMQPYx8ChNp3AkbADt82byzHnr7eHVRHMJoqPpX5 wxa1fgg4XXSn1B62AteMWXLrD+J5v09IDJ2HaFHPX4kYhBvRZj6vknG4jumP52IvTKIS 3ltQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:to :from:subject:dkim-signature; bh=z7JbJvPbaP9DuxXwjrZgtJVAa6cd8EIASlf43c00tzM=; b=NeKYkQmDjSqUeFPUk4qhoX8mM5dk1nC5TrSFS1Pz9Zp3oxCgws6KIteAyhJ8V1DB5h 6ypZ6aBY5VOHZk3oK+iFj5SAWolBevvkE4uFPktIgvR5xhSNbcfqRk9bKUp0b6vjc1pJ whfvlXHxO52aO+lmn2h8qsawKjvRB945RM3B4zf5pfNypecDXtka3qVRdekKUUUt7RIY timpABfQzAstN8ADKMoWFjmzurtQjslMcRinRs6VvX2wUPDvDi849tYB1sr3C/C5pVBY LVWnZrJMACPrOqiYm4jHh9ZqXEPAOkuY2jg1Dx6F8tBtlWSiFPfZ08hNXJZrw9rQMsfV zp4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rothenpieler.org header.s=mail header.b="rKE/yJb1"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rothenpieler.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf18si2426731ejb.202.2020.11.30.05.16.30; Mon, 30 Nov 2020 05:16:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rothenpieler.org header.s=mail header.b="rKE/yJb1"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=rothenpieler.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726076AbgK3NMs (ORCPT + 99 others); Mon, 30 Nov 2020 08:12:48 -0500 Received: from btbn.de ([5.9.118.179]:34412 "EHLO btbn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726671AbgK3NMq (ORCPT ); Mon, 30 Nov 2020 08:12:46 -0500 X-Greylist: delayed 1130 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Nov 2020 08:12:45 EST Received: from [IPv6:2001:16b8:64b8:ea00:8985:359a:bb0c:c985] (200116b864b8ea008985359abb0cc985.dip.versatel-1u1.de [IPv6:2001:16b8:64b8:ea00:8985:359a:bb0c:c985]) by btbn.de (Postfix) with ESMTPSA id C9E0224FE28 for ; Mon, 30 Nov 2020 14:12:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1606741924; bh=z7JbJvPbaP9DuxXwjrZgtJVAa6cd8EIASlf43c00tzM=; h=Subject:From:To:References:Date:In-Reply-To; b=rKE/yJb1PkR7jYYpPmwwg0MLOaaBLnvUy4DcXPD4EYGuju98//99Fqc10zTsDjauW pCd8ykdMrCg/FVgZmfThhuCtE1hsvOV9TxhZqPNLcqdEEX+wYP/10khWvX+yC81BiZ f7ldKTYMc5hkY/49y2qVLhmGMzKS23f9k6C94WHlcMxwkBLvkDfrqFUOvTj/79wEZC xmTUwpf1Qc8X6oer4q49BobC7N+ZOM7QcN2t9aWTERXCMrrptNFQByOQmTcWrMua26 Hs+WIihAgfFngBAqgHd6nIMuBOVXF6gLoXhA74b86gtE2eF5w4NsausEzZrbtHMzqZ ZGm+Y/HdVnUmw== Subject: Re: linux-5.4.80: "refcount_t: underflow; use-after-free" in rpc_async_schedule->rpc_free_task->nfs4_put_copy From: Timo Rothenpieler To: Linux NFS Mailing List References: Message-ID: <81fa8f5a-5ebf-07cb-f9a9-8b3da63f330f@rothenpieler.org> Date: Mon, 30 Nov 2020 14:12:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 30.11.2020 13:53, Timo Rothenpieler wrote: > I don't know for sure if changes to the 5.4 kernel have triggered this, > or changes in singularity which now make use of copy_file_range. > But restarting the nfs server, and then doing a "singularity pull" > reliably triggers that dmesg message. > > I found commit 49a361327332c9221438397059067f9b205f690d, but it seems > related to the inter ssc stuff, which isn't even present in 5.4. Quick update: I applied that commit on top of the 5.4.80 Kernel, and have not been able to reproduce the issue anymore in a quick test. Will leave it running like this for a bit and see if it's fixed. I don't know if this is in any way correct though.