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@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