CVE-2026-139401: nvmet-auth: reject undersized AUTH_SEND payloads
In the Linux kernel, the following vulnerability has been resolved:
nvmet-auth: reject undersized AUTHSEND payloads
nvmetexecuteauthsend() allocates and copies the initiator-supplied transfer length, then reads authtype and authid through a common DHCHAP message pointer. The existing zero and transfer-length checks do not ensure that both common-header bytes are present.
An unauthenticated NVMe/TCP initiator can complete ICReq and admin CONNECT, then send AUTHSEND with tl equal to one. KASAN reports a one-byte slab out-of-bounds read when authid is loaded.
Reject payloads that do not cover the common authtype/authid header before allocating or parsing them. The one-byte trigger and header-minus-one boundary were cleanly rejected in three fixed fresh-boot runs. Exact-header, valid DHCHAP, wrong-type, mismatch, and zero-length controls remained clean, and a following valid AUTHSEND on the same connection received a response. The touched source is unchanged at 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and builds cleanly.
The demonstrated impact is unauthenticated pre-authentication target-kernel denial of service. No disclosure, controlled write, RCE, or LPE was demonstrated. The source reproducer and complete logs are available on request and are not included in this public report.
OpenAI Codex assisted source inspection, test design, patch drafting, and evidence organization.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 0c2669a9f4a1d607e7591ae50ccf3c432a0aff08
Event History
Frequently Asked Questions
Who can trigger this issue?
An unauthenticated NVMe/TCP initiator can trigger it after completing ICReq and an admin CONNECT. Authentication is not required before sending the malformed AUTH_SEND request.
What malformed input is required to exploit it?
The initiator sends an AUTH_SEND command whose transfer length is too small to contain both common DHCHAP header bytes. A transfer length of one byte triggers the reported one-byte slab out-of-bounds read when the kernel reads auth_id.
What is the demonstrated impact?
The demonstrated impact is a pre-authentication denial of service against the NVMe target kernel. The provided data does not report information disclosure, controlled writes, or remote code execution.
What behavior should indicate that the fix is present?
AUTH_SEND payloads shorter than the common auth_type/auth_id header should be rejected before allocation or parsing. Valid exact-header and DHCHAP requests should continue to work, including a valid AUTH_SEND sent after a rejected malformed request on the same connection.