Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139155

published high CVSS 3.1 · 7.5

nvmet-auth: take only AUTH_Negotiate for a negotiation

Published
30 Nov 2026, 13:32:05 UTC
Updated
01 Dec 2026, 05:41:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdb1312dd95488b5e6ff362ff66fcf953a46b1821 to < bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893 · db1312dd95488b5e6ff362ff66fcf953a46b1821 to < a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde · db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5 · db1312dd95488b5e6ff362ff66fcf953a46b1821 to < e2466abd224f132da758aa6877fbfe08e0d3c51d · db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 4fa202329187f6cdce942ee66ead0411ab2dbb14 · db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 7dd1d31e2e3124f331056d68af9a48c501b37e02 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: take only AUTH_Negotiate for a negotiation nvmet_execute_auth_send() 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. Fail every other common-type message, as AUTH_Failure2 already is.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - The malformed input is an NVMe-oF AUTH_SEND capsule over nvmet-tcp: a common-type DH-HMAC-CHAP message whose auth_id equals sq->dhchap_step (e.g. 0x02 at step REPLY). nvmet_execute_auth_send() then re-runs nvmet_auth_negotiate() without nvmet_auth_sq_free(), and the next AUTH_RECEIVE challenge overwrites sq->dhchap_c1. AC:L - The remote host drives every step itself: it sends NEGOTIATE, then repeats a step-named common message followed by AUTH_RECEIVE. Each round deterministically orphans the previous dhchap_c1 kmalloc. There is no race and no state the attacker cannot produce on its own connection, and it can open as many connections as it likes. PR:N - It needs no key: the discovery subsystem passes nvmet_host_allowed() for any hostnqn, nvmet_setup_auth() returns 0 for discovery, and nvmet_parse_admin_cmd() sends fabrics AUTH_SEND/AUTH_RECEIVE to their handlers before any nvmet_check_auth_status() gate. The whole loop runs before authentication. UI:N - No target-side administrator or user action is involved. Once an nvmet-tcp port is listening, the attacker's own TCP connection, fabrics Connect to the discovery NQN and auth capsules are enough to trigger the leak. S:U - The impact is exhausting the target kernel's own slab memory. No VM, IOMMU or sandbox boundary is crossed. C:N - The unauthenticated path only orphans dhchap_c1 buffers and discloses nothing. The stale-c2 over-read in nvmet_auth_ctrl_hash() needs both the host and controller DH-HMAC-CHAP keys, and its bytes reach the host only inside an HMAC, so it is not counted for this attacker. I:N - Skipping the admin-queue nvmet_setup_auth() reload and the per-transaction reset does not let the host authenticate without the host key or write kernel memory. Negotiate still forces a fresh CHALLENGE/REPLY check of the host key. A:H - Each two-command round leaks a non-memcg-accounted kmalloc(hash_len) of up to 64 bytes from nvmet_auth_challenge(). It is unbounded and repeatable across many pipelined connections, and survives disconnect, so a remote host can exhaust target kernel memory into OOM.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux db1312dd95488b5e6ff362ff66fcf953a46b1821 to < bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893 (affected · git)db1312dd95488b5e6ff362ff66fcf953a46b1821 to < a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde (affected · git)db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5 (affected · git)db1312dd95488b5e6ff362ff66fcf953a46b1821 to < e2466abd224f132da758aa6877fbfe08e0d3c51d (affected · git)db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 4fa202329187f6cdce942ee66ead0411ab2dbb14 (affected · git)db1312dd95488b5e6ff362ff66fcf953a46b1821 to < 7dd1d31e2e3124f331056d68af9a48c501b37e02 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

nvmet-auth: take only AUTH_Negotiate for a negotiation

Provenance

Schema
5.2
Searchable
yes
Content hash
d066e4dc9736bbaf5b2703352c0d884b704ecd14575a76853dc4eb662a4face7
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected