# CVE-2026-90230: nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:37.940Z
- Modified: 2026-10-19T09:19:13.423Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()

nvmet_execute_auth_send() allocates the DH-HMAC-CHAP message buffer with
the host-supplied transfer length (tl) and hands it to
nvmet_auth_negotiate() without passing tl along. nvmet_auth_negotiate()
then reads the negotiate header and, for each of the halen hash
identifiers and dhlen DH group identifiers, indexes into the fixed
idlist[60] array (hashes at idlist[0..halen), groups at idlist[30..]).

Neither the transfer length nor halen/dhlen is validated. A malicious or
non-conformant host can report a tl smaller than the negotiate structure,
or a halen/dhlen larger than the array (both are u8, up to 255), making
the loops read past the end of the allocated buffer (heap out-of-bounds
read). The sibling nvmet_auth_reply() already validates tl against the
structure size; the negotiate path did not.

Pass tl into nvmet_auth_negotiate(), reject a tl that does not cover the
negotiate data plus one full protocol descriptor, and reject halen/dhlen
larger than NVME_AUTH_DHCHAP_MAX_DH_IDS.

(As written by CVE List.)

## Affected

- Linux Linux: from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 89ff11b72f38976f3b5aea23a5228ee05e277209; from db1312dd95488b5e6ff362ff66fcf953a46b1821 before aaac783950b17c57df9b6f7344747cacb1a407ed; from db1312dd95488b5e6ff362ff66fcf953a46b1821 before c38a8186326799957d293d370136c128cd113916; from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 7b81e4d2230e3d2d372c826180c4ef0efc244f31; from db1312dd95488b5e6ff362ff66fcf953a46b1821 before 5bb96cc218835769ab74ec7f3ea2bf81fbffe955; 6.0 (not affected: before 6.0; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-90230](https://www.cve.org/CVERecord?id=CVE-2026-90230), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90230](https://nvd.nist.gov/vuln/detail/CVE-2026-90230), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90230 · Whole record: https://cve.day/CVE-2026-90230.json · Rebuilt by cve.day 2026-11-25T22:59:39.350Z
