From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 427153B6363 for ; Wed, 29 Jul 2026 05:40:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785303638; cv=none; b=QnFO4uEkW7l9h0/JzpiNS53MiWSlbtTBjXzBWM4osDmMlVgLBzqNENtfnh5o5HGiw4wQMvAfsSGn3jxBDaZigBp3wDDcyTZL/50FnIQX9O9dxCzLhEXlkJdeY/lFHDKfTCUtNVwjyWTUlr2mOBJVmAuURI6MAOfYF2OAnW661/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785303638; c=relaxed/simple; bh=n0PKWvkS4Lc9xFd6/feyKg/OrBsmjTwrtBOTxcGXTBQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uFeSW8ZcIXa/Itp9YNnagCvrFf/2bIbapChW8+xBuYRPXEfmOz61AVgxppcGBMFYdipC8EH5vlamWrXmr6sjeD2I3xZXBn9B85xe8ko7tfIvJyPPct0eWSAWSouGVfwmr3yllJ2aYF1veUEpsuwDpKPdWGxUg+xeSJTYXsqpnGI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Kejc6IsB; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Kejc6IsB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 292741F000E9; Wed, 29 Jul 2026 05:40:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785303636; bh=H/AgoQ66Gx1QNJluQMlsR452ZiotXg+Sue4g3ozRJhw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Kejc6IsBmAytfBzRNDmMxidpJx3JKjUc4QNt7tAoLpYtCEpIz9y44Jl/0xuNpQUa8 wNCJ7NQex0VTglRMeGmkpNpxz7rV96LC45gmsZi1TqYGMXs2dKkF6fqqW/+4BPasy+ 2m23amk5pJQ3/nNyMJjMyudM0ttYzXCkyYREP+5c= Date: Wed, 29 Jul 2026 07:39:09 +0200 From: Greg Kroah-Hartman To: Keith Busch Cc: Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, stable Subject: Re: [PATCH] nvmet-tcp: Do not WARN on remotely-controlled oversized SGL allocations Message-ID: <2026072944-express-relapsing-42d7@gregkh> References: <20260727-nvme-tcp-v1-1-61c0e36763eb@linuxfoundation.org> 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: On Tue, Jul 28, 2026 at 11:14:46AM -0600, Keith Busch wrote: > On Mon, Jul 27, 2026 at 10:03:31PM +0200, Greg Kroah-Hartman wrote: > > When fuzzing the nvme target code, I tripped a kernel warning in > > nvmet_tcp_map_data() because the length passed into the allocator is > > controlled by the remote initiator. > > Thanks, applied to nvme-7.3 with a minor fix for an overly long line. Thanks, I thought you all would allow stuff longer than 80 columns like the rest of the kernel does in places :) greg k-h