[PATCH v2] nvme-auth: validate DH value length when reusing a group
Keith Busch
kbusch at kernel.org
Mon Nov 30 07:56:52 PST 2026
On Mon, 30 Nov 2026 08:01:02 -0500, Andrew Stellman wrote:
> When a DH-HMAC-CHAP challenge names the DH group that's already in use,
> nvme_auth_process_dhchap_challenge() skips the DH value length checks.
> A challenge with an empty DH value for a non-NULL group, or with a DH
> value for the NULL group, then returns 0, even though the same
> challenge for a new group is rejected.
>
> Run the same two checks before reusing the group.
>
> [...]
Thanks, applied to nvme-7.4.
[1/1] nvme-auth: validate DH value length when reusing a group
commit: 5cce12122887aec39b5b9d289cd058c8c5ca2d16
--
Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list