{"id":"CVE-2026-64319","published":"2026-07-25T08:49:48Z","modified":"2026-10-30T12:27:43Z","title":"nvmet-auth: validate reply message payload bounds against transfer length","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: validate reply message payload bounds against transfer length\n\nnvmet_auth_reply() accesses the variable-length rval[] array using\nattacker-controlled hl (hash length) and dhvlen (DH value length) fields\nwithout verifying they fit within the allocated buffer of tl bytes.\n\nA malicious NVMe-oF initiator can craft a DHCHAP_REPLY message with a\nsmall transfer length but large hl/dhvlen values, causing out-of-bounds\nheap reads when the target processes the DH public key (rval + 2*hl) or\nperforms the host response memcmp.\n\nWith DH authentication configured, the OOB pointer is passed directly to\nsg_init_one() and read by crypto_kpp_compute_shared_secret(), reaching\nup to 526 bytes past the buffer. This is exploitable pre-authentication.\n\nAdd bounds validation ensuring sizeof(*data) + 2*hl + dhvlen <= tl before\nany access to the variable-length fields.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00663,"percentile":0.52644,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/04fb6ff8b87a0ffff3860ff52bdb2fd04b31ece5","tags":[]},{"url":"https://git.kernel.org/stable/c/80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0","tags":[]},{"url":"https://git.kernel.org/stable/c/999f6205ede984a786f35f727b01f971b98e215d","tags":[]},{"url":"https://git.kernel.org/stable/c/6d7649c1231dac14d906985d2936967e23041c26","tags":[]},{"url":"https://git.kernel.org/stable/c/caa71b3a43ea5c13fe7141cb019ebcb03b8ac857","tags":[]},{"url":"https://git.kernel.org/stable/c/3a413ece2504c70aa34a20be4dafec04e8c741f9","tags":[]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.53},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 04fb6ff8b87a0ffff3860ff52bdb2fd04b31ece5",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 999f6205ede984a786f35f727b01f971b98e215d",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 6d7649c1231dac14d906985d2936967e23041c26",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < caa71b3a43ea5c13fe7141cb019ebcb03b8ac857",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 3a413ece2504c70aa34a20be4dafec04e8c741f9"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T15:39:00.486358Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49031","exploited":false,"provenance":"source"}}