[PATCH] nvme: nvme_identify_ns_descs: prevent oob

Eugene Korenevsky ekorenevsky at aliyun.com
Sat Nov 29 11:57:22 PST 2025


On Thu, Nov 27, 2025 at 03:49:16PM +0100, Christoph Hellwig wrote:

> I think we'll need a somewhat more complex check that at there
> is at least enough space for the len member.  But I prefer that
> style over a table lookup and magic name pasting macros.

Okay, simplified the patch. See v2.



More information about the Linux-nvme mailing list