{"id":"CVE-2026-90230","revision":"c1aff158ed354d3ead5cb255e4f2e81e","records":[{"revision":"c1aff158ed354d3ead5cb255e4f2e81e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90230","aliases":[],"title":"nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()","description":"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.","state":0,"publishedAt":"2026-09-17T16:07:37.94+00:00","modifiedAt":"2026-10-19T09:00:06.762+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/nvme/target/fabrics-cmd-auth.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"db1312dd95488b5e6ff362ff66fcf953a46b1821\",\n                            \"lessThan\": \"89ff11b72f38976f3b5aea23a5228ee05e277209\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db1312dd95488b5e6ff362ff66fcf953a46b1821\",\n                            \"lessThan\": \"aaac783950b17c57df9b6f7344747cacb1a407ed\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db1312dd95488b5e6ff362ff66fcf953a46b1821\",\n                            \"lessThan\": \"c38a8186326799957d293d370136c128cd113916\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db1312dd95488b5e6ff362ff66fcf953a46b1821\",\n                            \"lessThan\": \"7b81e4d2230e3d2d372c826180c4ef0efc244f31\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db1312dd95488b5e6ff362ff66fcf953a46b1821\",\n                            \"lessThan\": \"5bb96cc218835769ab74ec7f3ea2bf81fbffe955\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/nvme/target/fabrics-cmd-auth.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/89ff11b72f38976f3b5aea23a5228ee05e277209","https://git.kernel.org/stable/c/aaac783950b17c57df9b6f7344747cacb1a407ed","https://git.kernel.org/stable/c/c38a8186326799957d293d370136c128cd113916","https://git.kernel.org/stable/c/7b81e4d2230e3d2d372c826180c4ef0efc244f31","https://git.kernel.org/stable/c/5bb96cc218835769ab74ec7f3ea2bf81fbffe955"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90230","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90230","identifiers":["CVE-2026-90230"]},"retained":false,"historicalAffected":[]}],"coverage":[]}