Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1696612pxy; Fri, 23 Apr 2021 14:49:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgdSSa6L7bOxchpvfTg5cutnuoEUJo1a2v3J1qQpZgAS5yXhWj3dXOXb4F/Ea7biWocAxF X-Received: by 2002:a17:906:3942:: with SMTP id g2mr6559628eje.267.1619214569701; Fri, 23 Apr 2021 14:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619214569; cv=none; d=google.com; s=arc-20160816; b=IbD/EOpGhUyGO39CoqLsH2+usgQLSDHwHO6m3OFi7LveDAOl+h4CYrHT9+KpLWHeow hrjmh2CtB/6xC9JWgyCzs7kX13bb9Eqvp9C3IB29dHqPB6Gk+xeZEtMgZSViF/ZCwwZI ErjxZr8Aainf1mNUowKptlbfQLgMoNAxytd0hRBvy5XzB6vcE5Dxxyf5HVB7e8rKtYDL eY8Qouj6H5MVWHMGfrEwKM3gXa78po834wraOANqcgUfPpNjKVAv20FnThJ8aIeeMFwa u46Y2EYfaDpiz985ASuPMzv3HNbjyuJpjm1aIDhT66NOiRUwbFhZ1Ij5xULekyVMAQgH R2Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=U6WWEJE6HYu6e1qTzNl9Bf2+HqMso5r8EtnlDNeMCkY=; b=k7Cto69tU3G181WTX2nqYoRsvVAC0tXfG9snbuZQqF3RI/mlMuuHWNPVSRGE4wtEYI KSRAMwOzS2AuAThzvPbrO/YnEAS2Z/KpOHekg0I2AOEg2Cpj1w375Xg/dmlpIHEtcuLH b9qg8g5OZPsFbiztViP8oW43ac8FE40AuTEDw684DLQeIy+JCirn9eWGc4Qzu0HJQJsj h/HpEf0xRN9n9ohk2K0T+dhYenAWEUxfvSfdpHGBsqBFzhc/cgMBHzg8YND6xGTfe6ok hiQbnvYnbp9N3egaC+wExu0OcIRXF8Frj7m3SUTw+oXRziSLXYMeogaQEEvrZs9YFsrj SAEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=Xp+q4a1R; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si7045787ejj.196.2021.04.23.14.48.56; Fri, 23 Apr 2021 14:49:29 -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=@fieldses.org header.s=default header.b=Xp+q4a1R; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232438AbhDWVta (ORCPT + 99 others); Fri, 23 Apr 2021 17:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbhDWVt3 (ORCPT ); Fri, 23 Apr 2021 17:49:29 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF624C061574; Fri, 23 Apr 2021 14:48:51 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id DA2B772B6; Fri, 23 Apr 2021 17:48:50 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org DA2B772B6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1619214530; bh=U6WWEJE6HYu6e1qTzNl9Bf2+HqMso5r8EtnlDNeMCkY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xp+q4a1R8/kJxx5HrVczUxD/JWnCmEUYCs9ErozpMoBkibkVhrk7Rm8P7awvKiokQ 43mzlHqlB+ceAQFyW2LT2yfPCfys29j0npQbK0O9KpYUNLObIg1etF+8lXzzelXmI9 2dLY6vl0ElmMSl9blg1XxIyLnwhEBhRh+yvz/AaA= Date: Fri, 23 Apr 2021 17:48:50 -0400 From: "J. Bruce Fields" To: Leon Romanovsky 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: <20210423214850.GI10457@fieldses.org> 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: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Have umn addresses been blocked from posting to kernel lists? Anyway: On Fri, Apr 23, 2021 at 10:29:52PM +0300, Leon Romanovsky wrote: > 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. Aditya Pakki points out in private mail that this patch is part of the work described in this paper: https://www-users.cs.umn.edu/~kjlu/papers/crix.pdf (See the list of patches in the appendix.) I mean, sure, I suppose they could have created that whole second line of research just as a cover to submit malicious patches, but I think we're running pretty hard into Occam's Razor at that point. --b.