Bug 2507096 (CVE-2026-64319) - CVE-2026-64319 kernel: nvmet-auth: validate reply message payload bounds against transfer length
Summary: CVE-2026-64319 kernel: nvmet-auth: validate reply message payload bounds agai...
Keywords:
Status: NEW
Alias: CVE-2026-64319
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:04 UTC by OSIDB Bzimport
Modified: 2026-09-08 09:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:64775 0 None None None 2026-09-08 07:19:57 UTC
Red Hat Product Errata RHSA-2026:64808 0 None None None 2026-09-08 09:25:28 UTC

Description OSIDB Bzimport 2026-07-25 10:04:46 UTC
In the Linux kernel, the following vulnerability has been resolved:

nvmet-auth: validate reply message payload bounds against transfer length

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.

A malicious NVMe-oF initiator can craft a DHCHAP_REPLY message with a
small transfer length but large hl/dhvlen values, causing out-of-bounds
heap reads when the target processes the DH public key (rval + 2*hl) or
performs the host response memcmp.

With DH authentication configured, the OOB pointer is passed directly to
sg_init_one() and read by crypto_kpp_compute_shared_secret(), reaching
up to 526 bytes past the buffer. This is exploitable pre-authentication.

Add bounds validation ensuring sizeof(*data) + 2*hl + dhvlen <= tl before
any access to the variable-length fields.

Discovered by Atuin - Automated Vulnerability Discovery Engine.

Comment 4 errata-xmlrpc 2026-09-08 07:19:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:64775 https://access.redhat.com/errata/RHSA-2026:64775

Comment 5 errata-xmlrpc 2026-09-08 09:25:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:64808 https://access.redhat.com/errata/RHSA-2026:64808


Note You need to log in before you can comment on or make changes to this bug.