{"id":"CVE-2026-90230","published":"2026-09-17T16:07:37Z","modified":"2026-10-19T09:00:06Z","title":"nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()\n\nnvmet_execute_auth_send() allocates the DH-HMAC-CHAP message buffer with\nthe host-supplied transfer length (tl) and hands it to\nnvmet_auth_negotiate() without passing tl along. nvmet_auth_negotiate()\nthen reads the negotiate header and, for each of the halen hash\nidentifiers and dhlen DH group identifiers, indexes into the fixed\nidlist[60] array (hashes at idlist[0..halen), groups at idlist[30..]).\n\nNeither the transfer length nor halen/dhlen is validated. A malicious or\nnon-conformant host can report a tl smaller than the negotiate structure,\nor a halen/dhlen larger than the array (both are u8, up to 255), making\nthe loops read past the end of the allocated buffer (heap out-of-bounds\nread). The sibling nvmet_auth_reply() already validates tl against the\nstructure size; the negotiate path did not.\n\nPass tl into nvmet_auth_negotiate(), reject a tl that does not cover the\nnegotiate data plus one full protocol descriptor, and reject halen/dhlen\nlarger than NVME_AUTH_DHCHAP_MAX_DH_IDS.","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.00457,"percentile":0.39558,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/89ff11b72f38976f3b5aea23a5228ee05e277209","tags":[]},{"url":"https://git.kernel.org/stable/c/aaac783950b17c57df9b6f7344747cacb1a407ed","tags":[]},{"url":"https://git.kernel.org/stable/c/c38a8186326799957d293d370136c128cd113916","tags":[]},{"url":"https://git.kernel.org/stable/c/7b81e4d2230e3d2d372c826180c4ef0efc244f31","tags":[]},{"url":"https://git.kernel.org/stable/c/5bb96cc218835769ab74ec7f3ea2bf81fbffe955","tags":[]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":7.91},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 89ff11b72f38976f3b5aea23a5228ee05e277209",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < aaac783950b17c57df9b6f7344747cacb1a407ed",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < c38a8186326799957d293d370136c128cd113916",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 7b81e4d2230e3d2d372c826180c4ef0efc244f31",">= db1312dd95488b5e6ff362ff66fcf953a46b1821, < 5bb96cc218835769ab74ec7f3ea2bf81fbffe955"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"euvd":{"id":"EUVD-2026-81823","exploited":false,"provenance":"source"}}