CVE-2026-143286: nvmet-auth: keep the old keys if the new ones fail
In the Linux kernel, the following vulnerability has been resolved:
nvmet-auth: keep the old keys if the new ones fail
AUTHNegotiate on the admin queue has nvmetsetupauth() reload the host's keys, and it frees the old host key first. If decoding the new secret fails, or an allocation does, the controller is left without a host key, which means no authentication at all: nvmetcheckauthstatus() passes everything and I/O queue Connects no longer ask for it. configfs accepts any string starting with "DHHC-1:" and a digit, so one typo while changing a secret opens the namespaces to any connected admin queue.
Decode the new keys first and only then replace the old ones.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In nvmet_setup_auth(), decode the new keys before replacing or freeing the old host keys, and retain the old keys if decoding or allocation fails.
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Linux NVMe target deployments using host authentication are exposed when AUTH_Negotiate on an admin queue reloads a host's keys. The failure condition can occur while changing a secret through configfs.
What does an attacker need to take advantage of the authentication bypass?
The controller must first be left without a host key after a new secret fails to decode or a replacement-key allocation fails. In that state, authentication status checks pass and I/O queue Connect requests no longer require authentication.
Is an invalid secret update sufficient to create the unsafe state?
Yes. configfs accepts strings beginning with "DHHC-1:" followed by a digit, so a typo can be accepted initially and then fail during decoding when the keys are reloaded.
How can an administrator recognize that a controller may already be affected?
A controller is in the affected state if a host-key reload failed and it no longer has a host key. The observable consequence described is that I/O queue Connect requests stop asking for authentication and authentication-status checks pass.