Description
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.
Published: 2026-07-25
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the nvmet_auth_reply function, where the hw field lengths hl and dhvlen, controlled by an attacker, are not checked against the transfer length tl before being used to index a variable‑length buffer. This omission enables an out‑of‑bounds read of up to 526 bytes beyond the allocated buffer. The read occurs while processing a DHCHAP_REPLY message, meaning an attacker can send a specially crafted packet over an NVMe‑oF connection. The exposed data could include kernel memory contents, leading to information disclosure or a crash and, in some configurations, a starting point for further exploitation such as code execution or privilege escalation.

Affected Systems

Affected systems The flaw exists in all Linux kernel versions that use the older nvmet_auth_reply implementation before the included patch (commits 3a413e… and related commits). While no specific version list is supplied, any kernel derived from Linux that incorporates nvmet‑auth without the bounds check is vulnerable, regardless of distribution.

Risk and Exploitability

The EPSS score is below 1%, indicating a low probability of exploitation in the wild, and the vulnerability is not yet listed in CISA’s KEV catalog. Nonetheless, because the attack vector requires an NVMe‑oF initiator to send a crafted authentication message, trusted environments with unrestricted NVMe connections are at greater risk. The lack of authentication at the point of read further heightens the potential impact, as the attacker can trigger information disclosure or a kernel fault before any authentication has occurred. Overall, the CVSS severity is high, but the low EPSS suggests that mitigation is still recommended to prevent future or more targeted attacks.

Generated by OpenCVE AI on August 5, 2026 at 00:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the bounds‑validation patch for nvmet_auth_reply; refer to the commit identifiers (e.g., 3a413ece2504c70aa34a20be4dafec04e8c741f9) to verify the applied changes.
  • If an immediate kernel upgrade is not possible, block unsolicited NVMe‑oF traffic with firewall rules or disable NVMe‑oF interfaces that are exposed to untrusted networks.
  • Limit NVMe‑oF authentication to known, trusted initiators and enforce strict access control on the NVMe target configuration so that only authenticated hosts may complete the DHCHAP handshake.

Generated by OpenCVE AI on August 5, 2026 at 00:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Tue, 04 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-122

Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description 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.
Title nvmet-auth: validate reply message payload bounds against transfer length
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:40:56.826Z

Reserved: 2026-07-19T15:36:31.780Z

Link: CVE-2026-64319

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:13.290

Modified: 2026-08-11T15:00:57.447

Link: CVE-2026-64319

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64319 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T01:00:07Z

Weaknesses