From: Keith Busch <kbusch@kernel.org>
To: Sungwoo Kim <iam@sung-woo.kim>
Cc: Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
Sagi Grimberg <sagi@grimberg.me>,
Minwoo Im <minwoo.im.dev@gmail.com>, Chao Shi <cshi008@fiu.edu>,
Weidong Zhu <weizhu@fiu.edu>, Dave Tian <daveti@purdue.edu>,
linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix slab-out-of-bounds in nvme_dbbuf_set
Date: Mon, 9 Mar 2026 12:10:43 -0600 [thread overview]
Message-ID: <aa8NIy759W9hHsj3@kbusch-mbp> (raw)
In-Reply-To: <20260308182059.2415316-2-iam@sung-woo.kim>
On Sun, Mar 08, 2026 at 02:20:59PM -0400, Sungwoo Kim wrote:
> dev->online_queues is a count incremented in nvme_init_queue.
> Thus, valid indices are 0 through dev->online_queues - 1.
>
> This patch fixes the loop condition to ensure the index stays
> within the valid range.
> Index 0 is excluded because it is the admin queue.
Thanks, applied with some modifications to the changelog. The commit
subject should start with 'nvme-pci:' for this subsystem, and you can go
to 72 characters before wrapping the commit message.
prev parent reply other threads:[~2026-03-09 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-08 18:20 [PATCH] Fix slab-out-of-bounds in nvme_dbbuf_set Sungwoo Kim
2026-03-09 18:10 ` 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=aa8NIy759W9hHsj3@kbusch-mbp \
--to=kbusch@kernel.org \
--cc=axboe@kernel.dk \
--cc=cshi008@fiu.edu \
--cc=daveti@purdue.edu \
--cc=hch@lst.de \
--cc=iam@sung-woo.kim \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=minwoo.im.dev@gmail.com \
--cc=sagi@grimberg.me \
--cc=weizhu@fiu.edu \
/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