CVE-2026-72130: nvmet-auth: reject short AUTH_RECEIVE buffers
In the Linux kernel, the following vulnerability has been resolved:
nvmet-auth: reject short AUTHRECEIVE buffers
nvmetexecuteauthreceive() trusts the AUTHRECEIVE allocation length after checking only that it is nonzero and matches the transfer length. In the SUCCESS1 and FAILURE1/default states, that lets a remote NVMe-oF initiator reach the fixed-size DH-HMAC-CHAP response builders with a kmalloc() buffer shorter than the response, so nvmetauthsuccess1() and nvmetauthfailure1() write past the allocation; both only WARNON the short length and then format the message anyway.
Impact: A remote NVMe-oF initiator with access to an auth-enabled target can trigger a 16-byte heap out-of-bounds write via a one-byte AUTHRECEIVE allocation length.
Compute the minimum response length for the current DH-HMAC-CHAP step in nvmetauthreceivedatalen() and report a zero data length when the host-supplied allocation length is shorter, so the existing zero-length check in nvmetexecuteauthreceive() rejects the command before any builder runs. The SUCCESS1 minimum is sizeof(struct nvmfauthdhchapsuccess1data) plus the HMAC hash length, because the response hash is written into the rval[] flexible-array tail, so the minimum is state dependent rather than a flat sizeof. CHALLENGE keeps its existing variable-length guard in nvmetauthchallenge().
This is reachable only when in-band DH-HMAC-CHAP authentication is configured on the target.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernel nvmet-auth (DH-HMAC-CHAP / nvmet_execute_auth_receive / nvmet_auth_success1 / nvmet_auth_failure1)to a version that resolves this vulnerability.Fixed in resolved
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72130?
CVE-2026-72130 has a risk severity score of 48.
How do I fix CVE-2026-72130?
To address CVE-2026-72130, update your Linux kernel to the latest version that includes the patch resolving this vulnerability.
What systems are affected by CVE-2026-72130?
CVE-2026-72130 affects the Linux kernel implementation that handles nvmet-auth for AUTH_RECEIVE buffers.
What are the consequences of not addressing CVE-2026-72130?
Failure to mitigate CVE-2026-72130 may lead to unauthorized access or manipulation of sensitive data via AUTH_RECEIVE buffers.
When was CVE-2026-72130 published?
CVE-2026-72130 was published on August 15, 2026.