Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-64319

nvmet-auth: validate reply message payload bounds against transfer length
Back to all
CVE

CVE-2026-64319

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

In the Linux kernel, the following vulnerability has been resolved:

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

nvmetauthreply() 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

sginitone() and read by cryptokppcomputesharedsecret(), reaching

up to 526 bytes past the buffer. This is exploitable pre-authentication.

Add bounds validation ensuring sizeof(data) + 2hl + dhvlen <= tl before

any access to the variable-length fields.

Discovered by Atuin - Automated Vulnerability Discovery Engine.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/3a413ece2504c70aa34a20be4dafec04e8c741f9, https://git.kernel.org/stable/c/6d7649c1231dac14d906985d2936967e23041c26, https://git.kernel.org/stable/c/80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0, https://git.kernel.org/stable/c/999f6205ede984a786f35f727b01f971b98e215d, https://git.kernel.org/stable/c/caa71b3a43ea5c13fe7141cb019ebcb03b8ac857, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64319.json, https://nvd.nist.gov/vuln/detail/CVE-2026-64319, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00524%
EPSS Percentile
0.43237%
Introduced Version
db1312dd95488b5e6ff362ff66fcf953a46b1821,6.0.0,6.7.0,6.13.0,6.19.0,0
Fix Available
3a413ece2504c70aa34a20be4dafec04e8c741f9,6.6.145,6.12.96,6.18.39,7.1.4,6.12.0-211.52.1.el10_2,6.12.100-1~deb12u1,6.12.96-1,7.0.0-1012.12~24.04.1,7.0.0-1011.11~24.04.1,7.0.0-31.31~24.04.1,7.0.0-1018.18~24.04.1,7.0.0-31.31.1~24.04.1,0:5.14.0-687.45.1.el9_8,0:6.12.0-206.104.3.3.el9uek,0:6.12.0-211.53.1.el10_2,0:6.12.0-206.104.3.3.el10uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading