Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Busch <kbusch@kernel.org>
To: Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
	Chaitanya Kulkarni <kch@nvidia.com>,
	"Shu Takahashi (Velcore Consulting Inc.)" <kq5y@proton.me>
Cc: Max Gurtovoy <mgurtovoy@nvidia.com>, <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH v2] nvmet: bound the admin queue size of a Connect
Date: Fri, 4 Dec 2026 07:36:04 -0800	[thread overview]
Message-ID: <179639856493.1243276.223868296366106574.b4-ty@kernel.org> (raw)
In-Reply-To: <20261204115532.59548-1-kq5y@proton.me>

On Fri, 04 Dec 2026 11:55:42 +0000, Shu Takahashi (Velcore Consulting Inc.) wrote:
> Since commit 143667ee9a9c ("nvmet: compare mqes and sqsize only for IO
> SQ") nvmet_install_queue() accepts any non-zero sqsize for the admin
> queue. Transports size per-queue resources from it, and nvmet-tcp can
> allocate an excessive amount of memory for one connection.
> 
> The discovery subsystem can be reached without authenticating to a data
> subsystem on ports that permit plaintext connections. An oversized admin
> queue can therefore exhaust target memory before access to a data
> subsystem is checked.
> 
> [...]

Thanks, applied to nvme-7.5.

[1/1] nvmet: bound the admin queue size of a Connect
      commit: 951860bb8701ce3ccfec41364867784fa950a345
--
Keith Busch <kbusch@kernel.org>



      reply	other threads:[~2026-12-04 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  6:48 [PATCH] nvmet: bound the admin queue size of a Connect kq5y
2026-12-04  8:21 ` Christoph Hellwig
2026-12-04 11:55 ` [PATCH v2] " Shu Takahashi (Velcore Consulting Inc.)
2026-12-04 15:36   ` Keith Busch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179639856493.1243276.223868296366106574.b4-ty@kernel.org \
    --to=kbusch@kernel.org \
    --cc=hch@lst.de \
    --cc=kch@nvidia.com \
    --cc=kq5y@proton.me \
    --cc=linux-nvme@lists.infradead.org \
    --cc=mgurtovoy@nvidia.com \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox