{"id":"CVE-2026-90230","summary":"nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()","details":"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.","modified":"2026-09-20T11:30:50.205036654Z","published":"2026-09-17T16:07:37.940Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90230.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5bb96cc218835769ab74ec7f3ea2bf81fbffe955"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b81e4d2230e3d2d372c826180c4ef0efc244f31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89ff11b72f38976f3b5aea23a5228ee05e277209"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aaac783950b17c57df9b6f7344747cacb1a407ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c38a8186326799957d293d370136c128cd113916"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90230.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90230"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"db1312dd95488b5e6ff362ff66fcf953a46b1821"},{"fixed":"89ff11b72f38976f3b5aea23a5228ee05e277209"},{"fixed":"aaac783950b17c57df9b6f7344747cacb1a407ed"},{"fixed":"c38a8186326799957d293d370136c128cd113916"},{"fixed":"7b81e4d2230e3d2d372c826180c4ef0efc244f31"},{"fixed":"5bb96cc218835769ab74ec7f3ea2bf81fbffe955"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90230.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90230.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}