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

Summary

CVECVE-2026-138814
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:17:35 UTC
Updated2026-11-30 14:17:35 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea f6f549724abbbd5d9bb5e41c6ea591236149200f git Not specified
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea 6377319ad353a406c99eee6d9d70b4692cf07cd4 git Not specified
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea d066d556d1ccb12b07acd4b72537d1a6e9551a43 git Not specified
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea 81b9f59167067b5fbb4f2ae65498194085bbffe3 git Not specified
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea fba302332547210e81c7d26778bad245de580e8f git Not specified
CNA Linux Linux affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea f9e43d924bc74feeb56197de82b2845de2a4b85a 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.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report