[PATCH] nvmet-auth: validate reply message payload bounds against transfer length
Keith Busch
kbusch at kernel.org
Wed Jun 3 02:39:27 PDT 2026
On Fri, May 29, 2026 at 02:18:39PM +0000, Tianchu Chen wrote:
> From: Tianchu Chen <flynnnchen at tencent.com>
>
> nvmet_auth_reply() accesses the variable-length rval[] array using
> attacker-controlled hl (hash length) and dhvlen (DH value length) fields
> without verifying they fit within the allocated buffer of tl bytes.
Thanks, applied to nvme-7.2.
More information about the Linux-nvme
mailing list