CVE-2026-138814: nvme-auth: fail when the controller does not authenticate itself

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvme-auth: fail when the controller does not authenticate itself

nvmeauthprocessdhchapsuccess1() 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->bidirectional; 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, nvmetauthsuccess1() fails the authentication rather than answering with rvalid = 0.

Refuse the connection if the controller returns no response although bidirectional authentication was requested. chap->bidirectional is the right condition rather than ctrl->ctrlkey, because secure concatenation sends a challenge only to derive the PSK and deliberately clears bidirectional; a one-way setup without a controller secret keeps returning success as before.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203