[PATCH 06/11] nvme: Implement In-Band authentication
Hannes Reinecke
hare at suse.de
Tue Jun 21 23:01:07 PDT 2022
On 6/21/22 16:59, Sagi Grimberg wrote:
>
>> Looks like if I pass a malformed ctrl key to nvme connect I am able to
>> crash the system:
>
> This was what I used in this:
> $ nvme connect -a 192.168.123.1 -t tcp -s 8009 -n testnqn1 -S
> "DHHC-1:00:QpxVGpctx5J+4SeW2MClUI8rfZO3WdP1llImvsPsx7e3TK+I:" -C
> "DHHC-1:00:Jc/My1o0qtLCWRp+sHhAVafdfaS7YQOMYhk9zSmlatobqB8C:"
>
> The dhchap_ctrl_key is the offending string...
>
Right. Should be fixed with the attached patch.
Can you check?
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew
Myers, Andrew McDonald, Martje Boudien Moerman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nvme-auth-do-not-use-ctrl-opts-dhchap_ctrl_secret.patch
Type: text/x-patch
Size: 3356 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20220622/27067d8e/attachment.bin>
More information about the Linux-nvme
mailing list