{"api_version":"1","generated_at":"2026-11-30T19:18:02+00:00","cve":"CVE-2026-138814","urls":{"html":"https://cve.report/CVE-2026-138814","api":"https://cve.report/api/cve/CVE-2026-138814.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138814","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138814"},"summary":{"title":"nvme-auth: fail when the controller does not authenticate itself","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-auth: fail when the controller does not authenticate itself\n\nnvme_auth_process_dhchap_success1() returns success as soon as the\ncontroller clears the rvalid flag in its DH-HMAC-CHAP success1 message,\nwithout looking at whether the host had asked the controller to\nauthenticate.  A host configured with a controller secret sends a\nchallenge in its reply, computes the expected controller response, and\nsets chap->bi_directional; if the controller then answers with\nrvalid = 0 the response is never compared, the host still sends\nsuccess2, and the queue is marked as authenticated.\n\nA malicious or man-in-the-middle controller therefore only has to clear\none flag to turn the configured bidirectional authentication into a\none-way one, without holding any secret of its own.  The target side\nalready treats the mirror image of this as fatal: when the host supplied\na challenge but no controller key is configured, nvmet_auth_success1()\nfails the authentication rather than answering with rvalid = 0.\n\nRefuse the connection if the controller returns no response although\nbidirectional authentication was requested.  chap->bi_directional is the\nright condition rather than ctrl->ctrl_key, because secure concatenation\nsends a challenge only to derive the PSK and deliberately clears\nbi_directional; a one-way setup without a controller secret keeps\nreturning success as before.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:35","updated_at":"2026-11-30 14:17:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4","name":"https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f","name":"https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a","name":"https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f","name":"https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43","name":"https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3","name":"https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138814","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138814","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea f6f549724abbbd5d9bb5e41c6ea591236149200f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea 6377319ad353a406c99eee6d9d70b4692cf07cd4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea d066d556d1ccb12b07acd4b72537d1a6e9551a43 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea 81b9f59167067b5fbb4f2ae65498194085bbffe3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea fba302332547210e81c7d26778bad245de580e8f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f50fff73d620cd6e8f48bc58d4f1c944615a3fea f9e43d924bc74feeb56197de82b2845de2a4b85a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/host/auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f6f549724abbbd5d9bb5e41c6ea591236149200f","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"},{"lessThan":"6377319ad353a406c99eee6d9d70b4692cf07cd4","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"},{"lessThan":"d066d556d1ccb12b07acd4b72537d1a6e9551a43","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"},{"lessThan":"81b9f59167067b5fbb4f2ae65498194085bbffe3","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"},{"lessThan":"fba302332547210e81c7d26778bad245de580e8f","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"},{"lessThan":"f9e43d924bc74feeb56197de82b2845de2a4b85a","status":"affected","version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/host/auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-auth: fail when the controller does not authenticate itself\n\nnvme_auth_process_dhchap_success1() returns success as soon as the\ncontroller clears the rvalid flag in its DH-HMAC-CHAP success1 message,\nwithout looking at whether the host had asked the controller to\nauthenticate.  A host configured with a controller secret sends a\nchallenge in its reply, computes the expected controller response, and\nsets chap->bi_directional; if the controller then answers with\nrvalid = 0 the response is never compared, the host still sends\nsuccess2, and the queue is marked as authenticated.\n\nA malicious or man-in-the-middle controller therefore only has to clear\none flag to turn the configured bidirectional authentication into a\none-way one, without holding any secret of its own.  The target side\nalready treats the mirror image of this as fatal: when the host supplied\na challenge but no controller key is configured, nvmet_auth_success1()\nfails the authentication rather than answering with rvalid = 0.\n\nRefuse the connection if the controller returns no response although\nbidirectional authentication was requested.  chap->bi_directional is the\nright condition rather than ctrl->ctrl_key, because secure concatenation\nsends a challenge only to derive the PSK and deliberately clears\nbi_directional; a one-way setup without a controller secret keeps\nreturning success as before."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:25:13.799Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f"},{"url":"https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4"},{"url":"https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43"},{"url":"https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3"},{"url":"https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f"},{"url":"https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a"}],"title":"nvme-auth: fail when the controller does not authenticate itself","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138814","datePublished":"2026-11-30T13:25:13.799Z","dateReserved":"2026-11-30T13:22:15.895Z","dateUpdated":"2026-11-30T13:25:13.799Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:35","lastModifiedDate":"2026-11-30 14:17:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138814","Ordinal":"1","Title":"nvme-auth: fail when the controller does not authenticate itself","CVE":"CVE-2026-138814","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138814","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-auth: fail when the controller does not authenticate itself\n\nnvme_auth_process_dhchap_success1() returns success as soon as the\ncontroller clears the rvalid flag in its DH-HMAC-CHAP success1 message,\nwithout looking at whether the host had asked the controller to\nauthenticate.  A host configured with a controller secret sends a\nchallenge in its reply, computes the expected controller response, and\nsets chap->bi_directional; if the controller then answers with\nrvalid = 0 the response is never compared, the host still sends\nsuccess2, and the queue is marked as authenticated.\n\nA malicious or man-in-the-middle controller therefore only has to clear\none flag to turn the configured bidirectional authentication into a\none-way one, without holding any secret of its own.  The target side\nalready treats the mirror image of this as fatal: when the host supplied\na challenge but no controller key is configured, nvmet_auth_success1()\nfails the authentication rather than answering with rvalid = 0.\n\nRefuse the connection if the controller returns no response although\nbidirectional authentication was requested.  chap->bi_directional is the\nright condition rather than ctrl->ctrl_key, because secure concatenation\nsends a challenge only to derive the PSK and deliberately clears\nbi_directional; a one-way setup without a controller secret keeps\nreturning success as before.","Type":"Description","Title":"nvme-auth: fail when the controller does not authenticate itself"}]}}}