CVE-2026-138814

Source
https://cve.org/CVERecord?id=CVE-2026-138814
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138814.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138814
Downstream
Published
2026-11-30T13:25:13Z
Modified
2026-12-01T07:00:33Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
nvme-auth: fail when the controller does not authenticate itself
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138814.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f50fff73d620cd6e8f48bc58d4f1c944615a3fea
Fixed
f6f549724abbbd5d9bb5e41c6ea591236149200f
Fixed
6377319ad353a406c99eee6d9d70b4692cf07cd4
Fixed
d066d556d1ccb12b07acd4b72537d1a6e9551a43
Fixed
81b9f59167067b5fbb4f2ae65498194085bbffe3
Fixed
fba302332547210e81c7d26778bad245de580e8f
Fixed
f9e43d924bc74feeb56197de82b2845de2a4b85a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138814.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138814.json"