Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1620990pxy; Fri, 23 Apr 2021 12:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOiluaNZVOKy+YHphxZdldz1hDZrjtx3LnjMdxsVCQhMNVBqinspiOxaGzidNUkGIc2l2N X-Received: by 2002:a05:6402:4308:: with SMTP id m8mr6362467edc.209.1619206238000; Fri, 23 Apr 2021 12:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619206237; cv=none; d=google.com; s=arc-20160816; b=edduzYUxwJmc60Mg1t85MuOsyiVEEgPA6HBicBOuSjnz6UTTHimoSiddR0SlLUWPDd QY9xM4klWAZwO85dOvJdPpRCd5XG3ZDBaGjpD7KKboN6ijKzAGcNME5Yx4wWPRKur5/E G7zUEm5PTgBbPPpv3hlN4stXfrIKYeqFXAs1TMuaaTq00EpHfy8/Y5KVtB5TOLZ44+do t+w/ZAzexqUb5uuoIUZOcf3wGs1lEgGn0CPHmUH2bWdBTyF4Ggwk6xm97um6F7pid0lM q0fIobHhtUzxRXlTyz5mXlVNhN848TECK3EgCTGHBDJpCTHNEfPv1MUoMmDagISuXyCb +ziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=elW3pxqI9+L0Aez8qZnbm38H5QjhRqq9rf64rjwR+5Q=; b=j1cBiJvbQoU5iBxd6wvlw4w21/6RRFy99BkYuBcUrAG3VbaHr+ZNKcKvx3bKXZ3DYh CxzWwavC3RNJHAxUzUhsN6BtUmQI/eM3Px/Cbk5x1ryJ0RxMGKT0hmE9rJMFcWqvpKU1 l5Gj8SjX+/eSS78hOml25xn9CTWuIsuALCsobAdb4CgqvrCqVyQETw78sfmDMz/NsdM5 Vv17OI3G0xWfag5YuDR9LE8Qo9k3zcR+0krY7Y7G0Au0ap9lythRW0RRRtzNmbHE7s+/ XoRMXV5fYDZSjHeZ+JQbjRCfJK6Nm1LJsukUpljzuusD0ZpfecDUAB6W0ISV8HFF2foW C9TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NIzx/5eC"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si6222500eji.110.2021.04.23.12.30.04; Fri, 23 Apr 2021 12:30:37 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="NIzx/5eC"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243768AbhDWTae (ORCPT + 99 others); Fri, 23 Apr 2021 15:30:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:57138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhDWTad (ORCPT ); Fri, 23 Apr 2021 15:30:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 107286134F; Fri, 23 Apr 2021 19:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619206196; bh=ikzGb+8FgMM5E+UXyiyzMOROEMO+CNXykpkkBbepjm8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NIzx/5eCMVVtm4AJM102X9KO2qHDSz+Aul45b4EMeDbQDu4C66vCLColnWz7AdRPw 2zyXZMMH1pdI+PR+MrAoINvOmsnNhJxU4EPfq298jYqHiH5RmVaRH/sIsYpWE0h7lx N950L7r1vBrIYR+O6JLnrkjw5AX1vILGLlKb4NaDDSbyBqeyToNYCiJn7FXf3VUjU5 xsYWyoKup6RctsBga+G+vJZ9Y/9AndFHfcrkv3J13ImdzxMM0n5n2Az+4LsEXTemL7 wTP5DzUhusiat/7txRfZ6Q/xuR+19uzHmU5yRvkW5+JYOlEsmhgwHskZy1WW5NvXnj t4G5C7kfGUutg== Date: Fri, 23 Apr 2021 22:29:52 +0300 From: Leon Romanovsky To: "J. Bruce Fields" Cc: "Shelat, Abhi" , Greg KH , Sudip Mukherjee , Aditya Pakki , Chuck Lever , Trond Myklebust , Anna Schumaker , "David S. Miller" , Jakub Kicinski , Dave Wysochanski , "linux-nfs@vger.kernel.org" , netdev , linux-kernel Subject: Re: [PATCH] SUNRPC: Add a check for gss_release_msg Message-ID: References: <3B9A54F7-6A61-4A34-9EAC-95332709BAE7@northeastern.edu> <20210421133727.GA27929@fieldses.org> <20210421135637.GB27929@fieldses.org> <20210422193950.GA25415@fieldses.org> <20210423180727.GD10457@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210423180727.GD10457@fieldses.org> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Apr 23, 2021 at 02:07:27PM -0400, J. Bruce Fields wrote: > On Fri, Apr 23, 2021 at 08:25:28PM +0300, Leon Romanovsky wrote: > > On Thu, Apr 22, 2021 at 03:39:50PM -0400, J. Bruce Fields wrote: > > > On Wed, Apr 21, 2021 at 09:56:37AM -0400, J. Bruce Fields wrote: > > > > On Wed, Apr 21, 2021 at 04:49:31PM +0300, Leon Romanovsky wrote: > > > > > If you want to see another accepted patch that is already part of > > > > > stable@, you are invited to take a look on this patch that has "built-in bug": > > > > > 8e949363f017 ("net: mlx5: Add a missing check on idr_find, free buf") > > > > > > > > Interesting, thanks. > > > > > > Though looking at it now, I'm not actually seeing the bug--probably I'm > > > overlooking something obvious. > > > > It was fixed in commit 31634bf5dcc4 ("net/mlx5: FPGA, tls, hold rcu read lock a bit longer") > > So is the "Fixes:" line on that commit wrong? It claims the bug was > introduced by an earlier commit, ab412e1dd7db ("net/mlx5: Accel, add TLS > rx offload routines"). Yes, I think that Fixes line is misleading. > > Looks like Aditya Pakki's commit may have widened the race a little, but > I find it a little hard to fault him for that. We can argue about severity of this bug, but the whole paper talks about introduction of UAF bugs unnoticed. Thanks > > --b.