# CVE-2026-138814: nvme-auth: fail when the controller does not authenticate itself

- Severity: High 7.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:13.799Z
- Modified: 2026-12-01T06:17:27.930Z
- Assigned by: Linux

## Description

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

nvme-auth: fail when the controller does not authenticate itself

nvme_auth_process_dhchap_success1() returns success as soon as the
controller clears the rvalid flag in its DH-HMAC-CHAP success1 message,
without looking at whether the host had asked the controller to
authenticate.  A host configured with a controller secret sends a
challenge in its reply, computes the expected controller response, and
sets chap->bi_directional; if the controller then answers with
rvalid = 0 the response is never compared, the host still sends
success2, and the queue is marked as authenticated.

A malicious or man-in-the-middle controller therefore only has to clear
one flag to turn the configured bidirectional authentication into a
one-way one, without holding any secret of its own.  The target side
already treats the mirror image of this as fatal: when the host supplied
a challenge but no controller key is configured, nvmet_auth_success1()
fails the authentication rather than answering with rvalid = 0.

Refuse the connection if the controller returns no response although
bidirectional authentication was requested.  chap->bi_directional is the
right condition rather than ctrl->ctrl_key, because secure concatenation
sends a challenge only to derive the PSK and deliberately clears
bi_directional; a one-way setup without a controller secret keeps
returning success as before.

(As written by CVE List.)

## Affected

- Linux Linux: from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before f6f549724abbbd5d9bb5e41c6ea591236149200f; from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before 6377319ad353a406c99eee6d9d70b4692cf07cd4; from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before d066d556d1ccb12b07acd4b72537d1a6e9551a43; from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before 81b9f59167067b5fbb4f2ae65498194085bbffe3; from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before fba302332547210e81c7d26778bad245de580e8f; from f50fff73d620cd6e8f48bc58d4f1c944615a3fea before f9e43d924bc74feeb56197de82b2845de2a4b85a; 6.0 (not affected: before 6.0; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f>
- <https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4>
- <https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43>
- <https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3>
- <https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f>
- <https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a>

## Sources

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

---

Page: https://cve.day/CVE-2026-138814 · Whole record: https://cve.day/CVE-2026-138814.json · Rebuilt by cve.day 2026-12-01T06:32:14.476Z
