Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp234272lqt; Thu, 6 Jun 2024 01:49:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7JiRt4GRyW7ArlLxwLJwAAob7aIdHKRcMhYKbh9F/ZIj6cBTDFSmyCfPFItKTtHvL+ZsNU2cdmhA/BBQmTLYpxisob26k3tucvdqchg== X-Google-Smtp-Source: AGHT+IGamfsKQKHN+dXxiHWdKzLEmd7rhEY+OYP9QuBR+bSOmF4KmzOYZIKcigY5Qu5EzHjLhlGd X-Received: by 2002:a05:6359:459b:b0:19f:1644:d463 with SMTP id e5c5f4694b2df-19f1644d94bmr31484355d.5.1717663773838; Thu, 06 Jun 2024 01:49:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717663773; cv=pass; d=google.com; s=arc-20160816; b=fID02lA5vNfWzo3JM+ZjXD4DGsmzjhK5Vm89BQXY21sCPOVNMHFnj4MsS8yNDNj+5h izegBg0tEvNualoozrnYsP2YpsjYtsDcQhxLeEOojCCVrD55ctUQjck6PVdONNtfjK/l Ji/5Fn/zIJzwNXyKI+IJgxvdvGDxFhSer/Ng/KEFpQfDl3jYPT/CahCztvpr0etkINf7 D6StKqCf0Tr8kku25UWESPVmk+WymvrSqkzilz5jbhnSktXQOgWpjKiIb9DQvCDARb8h MSfFs9u0QIgXqMnIYyWPIM7q/pw7Dy4BXy+pBrUkN3LpKtOgRkSimCuBnEjoXDoLDKcE jXGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q64pOzEfC57FkqLu16lPl2Hcj+0rcnokfhBaRvoXXXk=; fh=KGOWTvDUVFj1RkgnMC3Yv/LosZLzOb71pO+PdKRExLw=; b=0vUHCt7oj01FfJpeh5OhgxfgC/YdW46TBRQUZbiJGUX3JGsQVCHw66QzWvKe/LzRie tjyEiQ8ki4CDPvrwNUKiB1cFIXZ2qD4Qp2ygjr/1LZxRHjAkOcZu+qo1uE346w3hwGA5 pM0hdlS6AGnupqwn6Y2WZ1GKgduzlyJmPkK97pF6eNwqocRoTn2clW94QHcllPPXOuSq 8ccTNhGHs/dyuOxEAszPZP0+yZCXXFwSEw2oQ7bgNVrx/up1cMjY9AGhsjUG4k4Czkqm HsSquF2npxRja08th2LksuHpegk4UpmmsLPGC4LNjDRfE9uoAnKZwfF5LnKbIiTcynaG wQtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AEZOLhEg; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-203685-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203685-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2073cfbasi301436a12.38.2024.06.06.01.49.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203685-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AEZOLhEg; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-203685-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203685-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C26DFB25320 for ; Thu, 6 Jun 2024 06:44:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBD7613B7AF; Thu, 6 Jun 2024 06:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AEZOLhEg" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 964C213541E; Thu, 6 Jun 2024 06:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717656250; cv=none; b=s72HUwtkpRNg16WhyXGYgttNYjDsAC2f017czUFXG6+y0gpLhbgkfFSbiFWcw+VGF3yGbPhAswTIaub3DnX90l65Mac5R3mgQgDEuAK/FqOKZVLIEq/UvV/svG8BHMwr7ciYOjZhPrJadmKQCGencol+qS/SggKcsee6iWzeLIg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717656250; c=relaxed/simple; bh=YmYACzC+f/zkf8DYh69144csDop+ChvMj9H5H/tUW44=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WTCAc+dWw1DdTxA50iVif95gbMCserwCJ2F7yM5EYdhZlUtT9ZE6fbl1vHKOC+N9lhgMYAkMTVgsy3M69E735paMNRqF5/mv6IOzZuoWdDTLLIOAqyTaTgqmedJOFRgwh5/WmRYK+OTtHGfCnH1sE5ZLI8aOckRhEjkP4SiA948= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=AEZOLhEg; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=q64pOzEfC57FkqLu16lPl2Hcj+0rcnokfhBaRvoXXXk=; b=AEZOLhEg8wZrDtx3+wvnaduo7A x+LbgzKFwFgfSip121T0vxQUGV/dCAoOdy+AB0r/tJI40QlFPS9k+/PQpDoXcvj+YdcHaUmTrAg6s VyCBGNTuhrbDSodeND/f7bqh/uv28rvpMovYVFvTFqXViP7EiNWNdWOIL5/B5tVL0qJSRM/UXbNGt 1/le5YJQZJNx8a+H24rn6A4vVs5LSrv8jTHy172wuX92qB3OmDQHcMiBQHgrbIgSPWIxF7xHKLWzs taPyKDX7CvCYrFhbd3ATomI2dxufmgFiaquSRzMTsV5xsM3ueOex4LAi4Tr8qxyNd4lK10xgmIPHf c/HYlfyA==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sF6qz-00000008ZKs-1epc; Thu, 06 Jun 2024 06:44:05 +0000 Date: Wed, 5 Jun 2024 23:44:05 -0700 From: Christoph Hellwig To: Ye Bin Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ming.lei@redhat.com, Ye Bin Subject: Re: [PATCH] block: bio-integrity: fix potential null-ptr-deref in bio_integrity_free Message-ID: References: <20240606062655.2185006-1-yebin@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606062655.2185006-1-yebin@huaweicloud.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html What kernel is this on? As of Linux 6.9 we are now always freezing the queue while updating the logical_block_size in the nvme driver, so there should be no inflight I/O while it is changing.