nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()
Summary
| CVE | CVE-2026-90230 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-17 17:17:18 UTC |
| Updated | 2026-09-17 17:17:18 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected db1312dd95488b5e6ff362ff66fcf953a46b1821 89ff11b72f38976f3b5aea23a5228ee05e277209 git |
Not specified |
| CNA |
Linux |
Linux |
affected db1312dd95488b5e6ff362ff66fcf953a46b1821 aaac783950b17c57df9b6f7344747cacb1a407ed git |
Not specified |
| CNA |
Linux |
Linux |
affected db1312dd95488b5e6ff362ff66fcf953a46b1821 c38a8186326799957d293d370136c128cd113916 git |
Not specified |
| CNA |
Linux |
Linux |
affected db1312dd95488b5e6ff362ff66fcf953a46b1821 7b81e4d2230e3d2d372c826180c4ef0efc244f31 git |
Not specified |
| CNA |
Linux |
Linux |
affected db1312dd95488b5e6ff362ff66fcf953a46b1821 5bb96cc218835769ab74ec7f3ea2bf81fbffe955 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.0 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.0 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.157 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.110 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.52 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.6 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/aaac783950b17c57df9b6f7344747cacb1a407ed |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7b81e4d2230e3d2d372c826180c4ef0efc244f31 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5bb96cc218835769ab74ec7f3ea2bf81fbffe955 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c38a8186326799957d293d370136c128cd113916 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/89ff11b72f38976f3b5aea23a5228ee05e277209 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.