Re: [PATCH] Fix slab-out-of-bounds in nvme_dbbuf_set

From: Keith Busch

Date: Mon Mar 09 2026 - 14:14:23 EST


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.