CVE-2026-138814

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

nvme_auth_process_dhchap_success1 in the Linux kernel incorrectly signals a successful authentication as soon as the controller clears a validity flag in its DH-HMAC-CHAP success1 message, without checking whether the host requested bidirectional authentication. An attacker who can act as a malicious or intercepted NVMe controller only needs to clear this flag to turn a configured bidirectional authentication into a one‑way authentication, allowing the host to believe the controller is authenticated. The host still proceeds to send a success2 message and grants access to the NVMe queue without actually verifying the controller's credentials. This flaw effectively permits an attacker to bypass authentication and gain unauthorized access to NVMe resources.

Affected Systems

The vulnerability affects Linux kernel NVMe drivers. No specific kernel version range is listed in the data; however, all versions that include the vulnerable nvme_auth_process_dhchap_success1 implementation are potentially impacted.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, so no publicly observed exploitation is reported. The attack vector is inferred to be a malicious or man‑in‑the‑middle NVMe controller, which can be local or remote if the host accepts NVMe over Fabrics connections. Because the flaw allows authentication bypass, an attacker could potentially access NVMe storage or execute code with the host's privileges, making the risk significant for systems that rely on NVMe authentication for security.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the nvme-auth fix
  • Configure a controller secret and enforce bidirectional authentication for all NVMe connections
  • If NVMe over Fabrics is not required, disable the interface or restrict it to trusted controllers

Generated by OpenCVE AI on November 30, 2026 at 16:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-287
Type Values Removed Values Added
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.
Title nvme-auth: fail when the controller does not authenticate itself
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:25 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM