Re: [PATCH] nvmet-tcp: Do not WARN on remotely-controlled oversized SGL allocations

Greg Kroah-Hartman <[email protected]> Wed, 29 Jul 2026 07:39:09 +0200
Newsgroups org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel
Message-ID <2026072944-express-relapsing-42d7@gregkh>
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