[PATCH v2] nvmet: nul-terminate the NQNs passed in the connect command
Chaitanya Kulkarni
chaitanyak at nvidia.com
Fri Nov 17 14:59:29 PST 2023
On 11/17/2023 8:56 AM, Keith Busch wrote:
> On Fri, Nov 17, 2023 at 08:13:36AM -0500, Christoph Hellwig wrote:
>> The host and subsystem NQNs are passed in the connect command payload and
>> interpreted as nul-terminated strings. Ensure they actually are
>> nul-terminated before using them.
>>
>> Fixes: a07b4970f464 "nvmet: add a generic NVMe target")
>> Reported-by: Alon Zahavi <zahavi.alon at gmail.com>
>> Signed-off-by: Christoph Hellwig <hch at lst.de>
>
> Applied for nvme-6.7, thanks!
>
if this is on the top of the tree can you please add my
reviewed-by tag posted earlier ?
-ck
More information about the Linux-nvme
mailing list