CVE-2026-139155: Linux kernel NVMe target treats any common-type authentication message naming the current step as a fresh negotiation

ByLinuxtastic

December 3, 2026 #CVE, #Linux Kernel

NVMe over Fabrics can require a host to prove itself with DH-HMAC-CHAP before it gets at a subsystem, and the Linux target implements that in-band authentication as a small state machine driven by messages the host sends. The kernel CNA record says the receive side “hands a common-type message to nvmet_auth_negotiate() if its ID is AUTH_Negotiate or matches the step the queue is in. The second case is wrong: the only other common-type message a host sends is AUTH_Failure2, and no queue waits in that step. A host can name the step on purpose though, and its message is then treated as a new AUTH_Negotiate without the work that goes with a new transaction, like reloading the keys on the admin queue.” The fix fails every other common-type message. The CNA and Red Hat score it 7.5; Red Hat’s statement is that targets which do not enforce DH-CHAP are unaffected. On a target that enforces in-band authentication, upgrade to a kernel at or above 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 and reboot.

CVE-2026-139155 at a glance.

ComponentLinux kernel, NVMe target in-band authentication (drivers/nvme/target/fabrics-cmd-auth.c): nvmet_execute_auth_send() dispatching common-type messages
Affected versionsfrom the commit that added in-band authentication, db1312dd9548 (“nvmet: implement basic In-Band Authentication”, 6.0): 6.0 up to 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1
Fixed inmainline 7.4-rc1 (commit 7dd1d31e, the one Debian cites) and stable 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6. One file, +2/−1: the else if (data->auth_id != req->sq->dhchap_step) guard becomes a plain else, so only AUTH_Negotiate reaches nvmet_auth_negotiate() and every other common-type message fails as AUTH_Failure2 already did
SeverityKernel CNA CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); NVD shows the CNA metric only; Red Hat Important, 7.5 on the same vector (draft, CWE-841), bug 2587055 “Denial of Service via improper authentication message handling in NVMe target”; Ubuntu Medium, no score
Exploited in the wildNot on the CISA KEV catalogue (2026.11.30). EPSS 0.00693 (54th percentile) on 1 December 2026
Who is exposedA Linux NVMe-oF target that enforces DH-HMAC-CHAP (a host entry with dhchap_key set) and whose port an untrusted host can reach; the host is unauthenticated by definition, since the flaw is in the authentication exchange. Red Hat: RHEL “systems are not vulnerable in default configurations”, and targets that do not export NVMe-oF or do not enforce in-band authentication are unaffected
PublishedCVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026

What it is

In-band authentication runs as a sequence of AUTH_Send and AUTH_Receive commands carrying DH-HMAC-CHAP messages; the target tracks which step each queue is in. Messages come in two types: the protocol-specific ones (challenge, reply, success) and two “common” ones, AUTH_Negotiate, which opens a transaction, and AUTH_Failure2, which ends one. When a common-type message arrives, the target decides whether to start a negotiation.

The record describes the test it used: start a negotiation if the message id is AUTH_Negotiate, or if the id equals the step the queue currently expects. The second half had no legitimate use, since the only other common-type message is AUTH_Failure2 and no queue ever waits for that as its step, but a host controls the id it sends. By naming the current step, a host gets its message treated as a fresh AUTH_Negotiate while skipping the housekeeping a real new transaction performs, such as reloading the keys on the admin queue. The record and Red Hat describe the outcome as a denial of service of the target’s authentication; the sibling CVE-2026-139149 from the same day notes separately that a queue can keep its “authenticated” mark across a rebind, which is why the two should be read together.

The fix, by Josef Bacik and committed by Keith Busch with Jens Axboe’s sign-off, deletes the step comparison: a common-type message that is not AUTH_Negotiate now always takes the failure path. git.kernel.org refuses automated readers, so the commit was read on GitHub.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. The code is present from 6.1 onwards in every generic kernel but runs only on a target configured to authenticate hosts.

DistributionStatusFixed package
AlpineNot consulted for this page: the Alpine tracker refused the automated reader on 2 December 2026—
Debianbookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSAunstable 7.3.6-1
UbuntuMedium, no Ubuntu CVSS; linux needs evaluation in every supported release (26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS, 20.04 LTS and the ESM releases); no USN on 2 December 2026nothing released on 2 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.5 (bug 2587055, CWE-841); the hydra record carried the rating and statement but no package table on 2 December 2026; Red Hat says default configurations are not vulnerablenothing released on 2 December 2026
openSUSE/SLENot consulted: suse.com refused the automated reader on 2 December 2026 (client error)—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later (series before 6.0 do not have in-band authentication)

How to check

Three questions: is the running kernel 6.0 or later and below the fixed version for its series, is this host an NVMe-oF target, and does it enforce DH-HMAC-CHAP for any host. Without the third the code path is never entered.

# 1. the running kernel: affected from 6.0; fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r

# 2. is the target configured
lsmod | grep -E '^nvmet( |$)'; ls /sys/kernel/config/nvmet/ports/ 2>/dev/null

# 3. does any host entry carry a DH-CHAP key (in-band authentication enforced)
for h in /sys/kernel/config/nvmet/hosts/*/; do
  printf '%s key=%s ctrl_key=%s\n' "$h" "$(cat "$h/dhchap_key" 2>/dev/null)" "$(cat "$h/dhchap_ctrl_key" 2>/dev/null)"
done

A kernel at or above the fixed version is done; one below 6.0 has no in-band authentication. No nvmet ports means the host is not a target. If every host entry prints an empty dhchap_key, authentication is not enforced and the dispatch code never sees a negotiation, which is Red Hat’s “default configuration”. A target with keys set is exposed to any host that can reach its port, because the flaw is in handling the unauthenticated side of the exchange. The signature of a hit is authentication failures or stalled AUTH_Send sequences for legitimate hosts in dmesg (nvmet: ctrl N qid M auth messages) with no credential change.

How to fix it

Install the fixed kernel and reboot. Debian forky and sid had 7.3.6-1; bookworm, trixie, Ubuntu and Red Hat had it pending on 2 December. The record lists no mitigation; the choice until then is between network reach and not enforcing in-band authentication, and the second trades one risk for another.

# Debian forky / sid (bookworm and trixie once a security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot
# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf update kernel && systemctl reboot
zypper patch && systemctl reboot
# Interim: keep the NVMe-oF port reachable only from the initiators that hold keys
nft add rule inet filter input tcp dport 4420 ip saddr != { 10.30.0.0/24 } drop
nft add rule inet filter input udp dport 4791 ip saddr != { 10.30.0.0/24 } drop   # RoCEv2

Turning authentication off to sidestep the bug would be the wrong trade on a fabric shared with untrusted hosts; DH-HMAC-CHAP is there because the network is not trusted, and a firewall rule in front of the port keeps that property while the kernel waits. What not to do: do not rotate the DH-CHAP keys as a response to this CVE; the flaw is in message dispatch, not in the secret, and new keys change nothing.

Sources

  • CVE-2026-139155 at CVE.org — the kernel CNA record: the “the only other common-type message a host sends is AUTH_Failure2, and no queue waits in that step” and “treated as a new AUTH_Negotiate without the work that goes with a new transaction” sentences, the 6.0 lower bound, the git ranges, the single file (30 November 2026)
  • Fix commit 7dd1d31e (mainline, 7.4-rc1) and the stable backports in the record; git.kernel.org refuses automated readers, so it was read on GitHub: Josef Bacik, committed by Keith Busch with Jens Axboe’s sign-off, Fixes: db1312dd9548 (“nvmet: implement basic In-Band Authentication”), no Cc: stable, one file +2/−1 replacing the step comparison with a plain else
  • NVD entry — Received on 30 November 2026; shows the CNA’s 7.5 as its only metric, no NVD score or CWE on 2 December
  • Distribution trackers: Debian (bookworm and trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (Medium, needs evaluation in every release, no USN) · Red Hat (Important 7.5, bug 2587055, no package table) · SUSE and Alpine (both refused the automated reader on 2 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00693 (percentile 0.542) on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 2 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.