[PATCH] nvme: core: reject invalid LBA data size from Identify Namespace

Chao S coshi036 at gmail.com
Fri May 15 02:31:50 PDT 2026


Hi Daniel,

Thanks for the catch on the Fixes tag.

> This fixes tag is wrong. The above commit doesn't touch the code
> line in question.
> Probably a5b1cd61820e ("nvme: move a few things out of
> nvme_update_disk_info") is the better choice here.

Keith subsequently pointed out that ds has never been validated
upstream, so no single commit introduced a regression to fix.  I
dropped the Fixes tag entirely in v2 (and v3 keeps it dropped).

Thanks,
Chao

On Mon, Apr 20, 2026 at 8:22 AM Daniel Wagner <dwagner at suse.de> wrote:
>
> On Sat, Apr 18, 2026 at 12:28:34AM -0400, Chao Shi wrote:
> > Fixes: 9419e71b8d67 ("nvme: move ns id info to struct nvme_ns_head")
>
> This fixes tag is wrong. The above commit doesn't touch the code line
> in question.
>
> Probably a5b1cd61820e ("nvme: move a few things out of
> nvme_update_disk_info") is the better choice here.



More information about the Linux-nvme mailing list