From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56F9EC433F5 for ; Sun, 24 Oct 2021 05:38:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24ADE60F70 for ; Sun, 24 Oct 2021 05:38:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbhJXFka (ORCPT ); Sun, 24 Oct 2021 01:40:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:50242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbhJXFk2 (ORCPT ); Sun, 24 Oct 2021 01:40:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CE9E360C4A; Sun, 24 Oct 2021 05:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635053888; bh=rjQWlX3TCvMDgEHLTPEDl04VRpnK/72Rf+QAmajZC6Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OWdrVFBebnH1ElaX1rUDLya9cgAkyp9NAbj2xxAxQsKvHCjhy7JjfQdfhTus79Gdw 80fF/zu6ODHzdOozSbaaCzh2pmk7XpEkuoCAD8igIfPS5e7FfqQedKqdx7x/a4CvT7 DhrGFcGwCX4zHrNKGy4119S2L1tPw/PAKZb256YRY3N8aUsEpurYXhW1QxnrXCRqHu MEq0SQ82aJPtKjXXcf1X7U3RMk0opYbQB+NvTzJksACiR2zWRz8mUO1KoMX2XqzEjR Vkej9yY1V8M2y0TmmmB/+MYytzGcU/Q92ERPakZi2d9DD4UQ6gdiXJxseLrcJi45A+ vkksxN4hYUzxQ== Date: Sun, 24 Oct 2021 08:37:59 +0300 From: Mike Rapoport To: Matthew Wilcox Cc: Kees Cook , Dmitry Vyukov , syzbot , Jordy Zomer , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] WARNING: refcount bug in sys_memfd_secret Message-ID: References: <00000000000062d0fc05cef24c57@google.com> <088FF23B-CD8E-4E53-B702-53E2C2382062@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 23, 2021 at 11:46:18PM +0100, Matthew Wilcox wrote: > On Sat, Oct 23, 2021 at 10:03:11AM -0700, Kees Cook wrote: > > On October 23, 2021 8:27:28 AM PDT, Mike Rapoport wrote: > > >and my first reaction was to send a revert the untested commit 110860541f44 > > >("mm/secretmem: use refcount_t instead of atomic_t"). > > I think you should. This isn't a real problem. Do you mean that creation of 4 billion of file descriptors is not feasible? -- Sincerely yours, Mike.