{"id":"CVE-2026-138814","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:35.207","lastModified":"2026-12-01T06:17:27.930","vulnStatus":"Received","cveTags":[],"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/nvme/host/auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"f6f549724abbbd5d9bb5e41c6ea591236149200f","versionType":"git","status":"affected"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"6377319ad353a406c99eee6d9d70b4692cf07cd4","versionType":"git","status":"affected"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"d066d556d1ccb12b07acd4b72537d1a6e9551a43","versionType":"git","status":"affected"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"81b9f59167067b5fbb4f2ae65498194085bbffe3","versionType":"git","status":"affected"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"fba302332547210e81c7d26778bad245de580e8f","versionType":"git","status":"affected"},{"version":"f50fff73d620cd6e8f48bc58d4f1c944615a3fea","lessThan":"f9e43d924bc74feeb56197de82b2845de2a4b85a","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/nvme/host/auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":5.2}]},"references":[{"url":"https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}