[PATCH] nvme: nvme_identify_ns_descs: prevent oob

Sagi Grimberg sagi at grimberg.me
Sun Nov 30 14:20:04 PST 2025



On 29/11/2025 21:57, Eugene Korenevsky wrote:
> 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.

Did you send it?




More information about the Linux-nvme mailing list