Back to overview

CVE-2026-64319

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.

Metadata

CVE ID
CVE-2026-64319
State
PUBLISHED
Assigner
Linux
Reserved
2026-07-19 15:36 UTC
Published
2026-07-25 08:49 UTC
Last updated
2026-07-25 08:49 UTC
Vendor / Product
Linux / Linux
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (2)
VendorProductPlatformVersions
Linux Linux db1312dd95488b5e6ff362ff66fcf953a46b1821 < 80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0, db1312dd95488b5e6ff362ff66fcf953a46b1821 < 999f6205ede984a786f35f727b01f971b98e215d, db1312dd95488b5e6ff362ff66fcf953a46b1821 < 6d7649c1231dac14d906985d2936967e23041c26, db1312dd95488b5e6ff362ff66fcf953a46b1821 < caa71b3a43ea5c13fe7141cb019ebcb03b8ac857 …
Linux Linux 6.0, 0 < 6.0, 6.6.145 ≤ 6.6.*, 6.12.96 ≤ 6.12.* …
Back to overview