Skip to content
Heist/ feed
Critical

nvmet-auth: reject short AUTH_RECEIVE buffers

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: reject short AUTH_RECEIVE buffers nvmet_execute_auth_receive() trusts the AUTH_RECEIVE 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 nvmet_auth_success1() and nvmet_auth_failure1() write past the allocation; both only WARN_ON 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 AUTH_RECEIVE allocation length. Compute the minimum response length for the current DH-HMAC-CHAP step in nvmet_auth_receive_data_len() and report a zero data length when the host-supplied allocation length is shorter, so the existing zero-length check in nvmet_execute_auth_receive() rejects the command before any builder runs. The SUCCESS1 minimum is sizeof(struct nvmf_auth_dhchap_success1_data) 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 nvmet_auth_challenge(). This is reachable only when in-band DH-HMAC-CHAP authentication is configured on the target.

Announced Group revision 1
Original source ↗

CVE-2026-72130

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-72130

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
        "lessThan": "584d7d14d9b40b080b1195cec83de86ade63343e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
        "lessThan": "80bf7b7f676e3987bbe06af3c359bd56ac91a5a9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
        "lessThan": "2eaa3ad450141cfcf187bb43cb8335eb336b5f87",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
        "lessThan": "bc111698b46e43eddd8664cceaa621cd559e99a0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
        "lessThan": "779575bc35c687697ba69e904f2cd22e60112534",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/nvme/target/fabrics-cmd-auth.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.101",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/nvme/target/fabrics-cmd-auth.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72130

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#46491 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement