CVE-2026-138814: Linux kernel NVMe host accepts a controller that declines to authenticate itself

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

NVMe over Fabrics can authenticate both ends of a connection with DH-HMAC-CHAP: the host proves itself to the controller, and if the host is configured with a controller secret it sends a challenge back and expects the controller to prove itself too. nvme_auth_process_dhchap_success1() in drivers/nvme/host/auth.c “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”. With rvalid = 0 “the response is never compared, the host still sends success2, and the queue is marked as authenticated”, so “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 kernel CNA scores it 7.4 as a high-complexity network attack on confidentiality and integrity; Red Hat adds availability and makes it 8.1, rates it Important and lists RHEL 9 and 10 as affected. If any host connects to NVMe-oF targets with bidirectional DH-HMAC-CHAP, upgrade it to a kernel at or above 6.1.193, 6.6.163, 6.12.117, 6.18.63 or 7.3.4 and reboot; until then the controller secret you configured is not being checked.

CVE-2026-138814 at a glance.

ComponentLinux kernel, NVMe over Fabrics host authentication: nvme_auth_process_dhchap_success1() in drivers/nvme/host/auth.c, used on NVMe/TCP and NVMe/RDMA connections with in-band authentication
Affected versionsmainline 6.0 up to 7.4-rc1 (from commit f50fff73, the introduction of in-band authentication); 6.1.x below 6.1.193, 6.6.x below 6.6.163, 6.12.x below 6.12.117, 6.18.x below 6.18.63, 7.3.x below 7.3.4. Kernels before 6.0 have no NVMe authentication and are not affected
Fixed inmainline 7.4-rc1 (commit f9e43d92) and stable 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4; six fix commits in the record. The fix refuses the connection “if the controller returns no response although bidirectional authentication was requested”, keyed on chap->bi_directional rather than on whether a controller key exists, so secure concatenation (which sends a challenge only to derive the PSK) and one-way setups keep working
Severitykernel CNA CVSS 3.1 7.4 High (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, adding availability), CWE-303 (incorrect implementation of an authentication algorithm), score marked draft; Ubuntu needs triage on every release with no priority shown; SUSE not reachable. The two raters differ only on whether a storage controller that was never authenticated can also take the host down; the box carries both
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026
Who is exposedhosts that mount NVMe-oF namespaces and have configured a controller secret (dhchap_ctrl_secret or --dhchap-ctrl-secret) so that the target must authenticate too: the point of that setting is to stop a rogue or impersonated target serving the host, and the bug removes it. The attacker is whoever can answer the host’s connection — an impersonated target on the fabric or a man in the middle on NVMe/TCP — and needs no secret. Hosts using one-way authentication, secure concatenation with TLS, or no in-band authentication are not made worse than they already were; local NVMe drives are not involved at all. Red Hat’s statement: exposure “requires explicit administrative config enabling bidirectional DH-HMAC-CHAP on NVMe-oF host connections; local NVMe storage is unaffected”
PublishedCVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

DH-HMAC-CHAP runs as a short exchange of fabric commands after connect. The controller challenges the host; the host answers, and if it has a controller secret it includes a challenge of its own and sets chap->bi_directional. The controller’s success1 message carries a flag, rvalid, saying whether it has included a response to the host’s challenge. The host code treated a cleared flag as “nothing to check” and returned success, without asking whether it had sent a challenge in the first place. A controller that does not know the secret therefore does not have to fake a response; it declines to give one, and the host proceeds to success2 and marks the queue authenticated.

The record contrasts this with the target side, which “already treats the mirror image of this as fatal”: when a host sends a challenge and the target has no controller key, nvmet_auth_success1() fails the exchange rather than answering with rvalid = 0. On the host the omission means every bidirectional configuration has been one-way in practice since in-band authentication arrived in 6.0, and a storage network that relied on it to detect a rogue target has not had that protection. The CNA scores confidentiality and integrity as high — a controller the host did not verify serves and receives its block data — and Red Hat also counts the availability of the volumes behind it.

The fix adds the missing condition: a cleared rvalid when chap->bi_directional is set fails authentication and the connection is refused. The record explains why the flag and not the configured key is the right test: secure concatenation sends a challenge only to derive the TLS PSK and deliberately clears bi_directional, and a one-way setup without a controller secret must keep succeeding as before. git.kernel.org refused our reader, so the change is described from the CNA’s copy of the commit message and the one file the record names.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm’s 6.1 kernel (6.1.176-1, security 6.1.192-3) vulnerable; trixie fixed in both the plain and security rows; forky and sid fixed; no DSA or DLA on 1 December 2026trixie 6.12.117-1 (security 6.12.118-1); forky and sid 7.3.6-1 (fix recorded at 7.3.4-1); nothing for bookworm on 1 December 2026
Ubuntuthe linux package is needs triage on every release from 14.04 to 26.10; no priority set and nothing released or in progress on 1 December 2026nothing on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 8.1, CWE-303 (bug 2586479); affected on RHEL 9 and 10 (kernel and kernel-rt) and on the OpenShift RHCOS 9 and 10 images; not affected on RHEL 6, 7 and 8 and RHCOS 8, which predate NVMe authentication; no errata on 1 December 2026nothing on 1 December 2026
openSUSE/SLETracker unreachable on 1 December 2026 (client error); nothing inferred—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply6.1.193 / 6.6.163 / 6.12.117 / 6.18.63 / 7.3.4 or later

How to check

Three questions, in order: which kernel is running, are there NVMe-oF connections at all, and is a controller secret configured on any of them. Only the third case is the bug; a host with fabric connections but no controller secret has nothing this change would have checked.

# 1. the running kernel (compare with the fixed stable version for its series)
uname -r

# 2. fabric connections (transport tcp or rdma; 'pcie' is a local drive and not involved)
nvme list-subsys 2>/dev/null | grep -E 'transport=(tcp|rdma)'
grep -H . /sys/class/nvme/nvme*/transport 2>/dev/null | grep -vE ':pcie$'

# 3. is a controller secret configured: in the kernel ...
grep -H . /sys/class/nvme/nvme*/dhchap_ctrl_secret 2>/dev/null | grep -v ':(null)$'
# ... and in the configuration that re-creates the connections at boot
grep -rE 'dhchap[_-]ctrl[_-]secret' /etc/nvme/ /etc/nvme/config.json 2>/dev/null

A kernel at or above the fixed stable version for its series is done. A host with only pcie transports has no fabric authentication and is not involved. A host with tcp or rdma connections whose dhchap_ctrl_secret reads (null) never asked the controller to prove itself, so the bug changes nothing for it, though it may be worth asking why. The case the score describes is a host that did configure the controller secret: on an affected kernel that secret has not been verified, and any controller that answered the connection request, including one that does not hold the secret, was accepted as the array.

How to fix it

Install the fixed kernel and reboot; a kernel bug is not patched in place and the authentication code stays in memory until the machine boots the new image. Debian trixie and later already carry the fix; Ubuntu had not triaged it and Red Hat lists RHEL 9 and 10 as affected with no errata on 1 December 2026.

# Debian trixie / forky / sid
apt update && apt install linux-image-amd64 && systemctl reboot       # or linux-image-arm64
# Ubuntu, RHEL family, SUSE: when the builds land
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r

# after the reboot, prove the check works: a wrong controller secret must now fail the connect
nvme connect -t tcp -a 10.20.0.5 -s 4420 -n nqn.2026-01.example:array1 \
  --dhchap-secret "$HOST_KEY" --dhchap-ctrl-secret "DHHC-1:00:wrongwrongwrongwrongwrongwrongwrongwrongwrong:" && echo STILL-VULNERABLE

Until the kernel is replaced, the protections that do not depend on this code are TLS on NVMe/TCP (--tls with a PSK, where the TLS handshake itself authenticates the target) and an isolated storage network where no device but the array can answer port 4420. What not to do: do not remove the controller secret because “it is not being checked anyway”; the fixed kernel will check it, and a target that has it configured will refuse a host that stops sending the challenge. And do not confuse this with the host’s own authentication, which has always worked: the array still knows who the host is, the host just does not know who the array is.

Sources

  • CVE-2026-138814 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message with the target-side comparison, the git and version ranges, CVSS 3.1 7.4
  • Fix commits on git.kernel.org: f9e43d92, f6f54972, 6377319a, d066d556, 81b9f591, fba30233; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message and the file the record names
  • NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (trixie 6.12.117-1 fixed, bookworm vulnerable) · Ubuntu (needs triage, no priority) · Red Hat (Important 8.1, CWE-303, RHEL 9/10 affected) · SUSE (unreachable on 1 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.