{"id":"CVE-2026-64319","aliases":["CVE-2026-64319"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-auth: validate reply message payload bounds against transfer length","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-25T08:49:48.291Z","modified":"2026-10-30T13:19:33.567Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"04fb6ff8b87a0ffff3860ff52bdb2fd04b31ece5","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"999f6205ede984a786f35f727b01f971b98e215d","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"6d7649c1231dac14d906985d2936967e23041c26","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"caa71b3a43ea5c13fe7141cb019ebcb03b8ac857","status":"affected"},{"type":"git","introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821","fixed":"3a413ece2504c70aa34a20be4dafec04e8c741f9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/04fb6ff8b87a0ffff3860ff52bdb2fd04b31ece5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80cd28b56ab62d3e7ed0a7bf05282e6d3ee5b2a0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/999f6205ede984a786f35f727b01f971b98e215d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d7649c1231dac14d906985d2936967e23041c26","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/caa71b3a43ea5c13fe7141cb019ebcb03b8ac857","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a413ece2504c70aa34a20be4dafec04e8c741f9","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:39:00.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64319","url":"https://www.cve.org/CVERecord?id=CVE-2026-64319","licence":"CVE Terms of Use","modified":"2026-10-30T12:27:43.881Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64319","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64319","licence":"Public domain","modified":"2026-10-30T13:19:33.567Z"}],"updatedAt":"2026-11-25T22:59:30.066Z","epss":{"score":0.00663,"percentile":0.52993,"date":"2026-12-01T12:00:22.000Z"}}