CVE-2026-138814 (GCVE-0-2026-138814)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-12-01 05:40
VLAI
Title
nvme-auth: fail when the controller does not authenticate itself
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-auth: fail when the controller does not authenticate itself nvme_auth_process_dhchap_success1() 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->bi_directional; 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, nvmet_auth_success1() fails the authentication rather than answering with rvalid = 0. Refuse the connection if the controller returns no response although bidirectional authentication was requested. chap->bi_directional is the right condition rather than ctrl->ctrl_key, because secure concatenation sends a challenge only to derive the PSK and deliberately clears bi_directional; a one-way setup without a controller secret keeps returning success as before.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < f6f549724abbbd5d9bb5e41c6ea591236149200f (git)
Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < 6377319ad353a406c99eee6d9d70b4692cf07cd4 (git)
Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < d066d556d1ccb12b07acd4b72537d1a6e9551a43 (git)
Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < 81b9f59167067b5fbb4f2ae65498194085bbffe3 (git)
Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < fba302332547210e81c7d26778bad245de580e8f (git)
Affected: f50fff73d620cd6e8f48bc58d4f1c944615a3fea , < f9e43d924bc74feeb56197de82b2845de2a4b85a (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.0
Unaffected: 0 , < 6.0 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.63 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/nvme/host/auth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f6f549724abbbd5d9bb5e41c6ea591236149200f",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            },
            {
              "lessThan": "6377319ad353a406c99eee6d9d70b4692cf07cd4",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            },
            {
              "lessThan": "d066d556d1ccb12b07acd4b72537d1a6e9551a43",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            },
            {
              "lessThan": "81b9f59167067b5fbb4f2ae65498194085bbffe3",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            },
            {
              "lessThan": "fba302332547210e81c7d26778bad245de580e8f",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            },
            {
              "lessThan": "f9e43d924bc74feeb56197de82b2845de2a4b85a",
              "status": "affected",
              "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/nvme/host/auth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.0"
            },
            {
              "lessThan": "6.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.63",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-auth: fail when the controller does not authenticate itself\n\nnvme_auth_process_dhchap_success1() returns success as soon as the\ncontroller clears the rvalid flag in its DH-HMAC-CHAP success1 message,\nwithout looking at whether the host had asked the controller to\nauthenticate.  A host configured with a controller secret sends a\nchallenge in its reply, computes the expected controller response, and\nsets chap-\u003ebi_directional; if the controller then answers with\nrvalid = 0 the response is never compared, the host still sends\nsuccess2, and the queue is marked as authenticated.\n\nA malicious or man-in-the-middle controller therefore only has to clear\none flag to turn the configured bidirectional authentication into a\none-way one, without holding any secret of its own.  The target side\nalready treats the mirror image of this as fatal: when the host supplied\na challenge but no controller key is configured, nvmet_auth_success1()\nfails the authentication rather than answering with rvalid = 0.\n\nRefuse the connection if the controller returns no response although\nbidirectional authentication was requested.  chap-\u003ebi_directional is the\nright condition rather than ctrl-\u003ectrl_key, because secure concatenation\nsends a challenge only to derive the PSK and deliberately clears\nbi_directional; a one-way setup without a controller secret keeps\nreturning success as before."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The forged input is the DH-HMAC-CHAP Success1 payload (rvalid=0, echoed t_id, matching hl) the controller returns to the host\u0027s AUTH_Receive in nvme_queue_auth_work(), accepted by nvme_auth_process_dhchap_success1(). On NVMe/TCP it arrives in a C2HData PDU on routable TCP, reached via nvmf_connect_admin_queue()/nvmf_connect_io_queue() when the Connect reply sets AUTHREQ ATR.\nAC:H - The attacker must receive the host\u0027s NVMe/TCP connection to its configured traddr (on-path position or address takeover), which this bug does not provide; CVSS 3.1 scores such interception AC:H. Once there the forgery is deterministic: clear one flag, no secret, and a reset forces nvme_tcp_reconnect_ctrl_work() to reconnect.\nPR:N - The impersonating controller holds neither the host nor the controller DH-HMAC-CHAP secret: it sends any c1 challenge, ignores the host\u0027s reply, and answers Success1 with rvalid=0. The host then sends Success2 and sets chap-\u003eauthenticated without any credential of the controller being checked.\nUI:N - No operator action is needed: once the attacker breaks the live connection, nvme_tcp_error_recovery_work() and nvme_tcp_reconnect_ctrl_work() reconnect automatically through nvme_tcp_setup_ctrl() -\u003e nvmf_connect_admin_queue(), and nvmf_should_reconnect() keeps retrying until ctrl_loss_tmo.\nS:U - The bug defeats the host kernel\u0027s own controller-authentication check and its effect is confined to the host\u0027s I/O to that subsystem; no VM, IOMMU or sandbox boundary is crossed.\nC:H - After the bypass nvmf_connect_admin_queue() returns 0 and the host brings the controller live against the impostor, so every block the host writes to that subsystem\u0027s namespaces (filesystem data, journals) is delivered to the attacker. Bidirectional auth with dhchap_ctrl_secret exists to prevent exactly this.\nI:H - The impostor answers every Identify and Read, so the host consumes attacker-chosen block contents as if they came from the authenticated subsystem (e.g. a root filesystem booted over NVMe/TCP), and acknowledged writes can be silently dropped or altered.\nA:N - No memory-safety issue: the patch only adds a chap-\u003ebi_directional check before return 0. Availability is no worse than with the fix, which returns -ECONNREFUSED/-EKEYREJECTED so nvmf_should_reconnect() stops retrying; the storage is lost to the attacker\u0027s position either way."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:40:10.711Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4"
        },
        {
          "url": "https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43"
        },
        {
          "url": "https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3"
        },
        {
          "url": "https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f"
        },
        {
          "url": "https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a"
        }
      ],
      "title": "nvme-auth: fail when the controller does not authenticate itself",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-138814",
    "datePublished": "2026-11-30T13:25:13.799Z",
    "dateReserved": "2026-11-30T13:22:15.895Z",
    "dateUpdated": "2026-12-01T05:40:10.711Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-138814",
      "date": "2026-12-04",
      "epss": "0.00498",
      "percentile": "0.4431"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/nvme/host/auth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "f6f549724abbbd5d9bb5e41c6ea591236149200f",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6377319ad353a406c99eee6d9d70b4692cf07cd4",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d066d556d1ccb12b07acd4b72537d1a6e9551a43",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "81b9f59167067b5fbb4f2ae65498194085bbffe3",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fba302332547210e81c7d26778bad245de580e8f",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f9e43d924bc74feeb56197de82b2845de2a4b85a",
                    "status": "affected",
                    "version": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/nvme/host/auth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.0"
                  },
                  {
                    "lessThan": "6.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-auth: fail when the controller does not authenticate itself\n\nnvme_auth_process_dhchap_success1() returns success as soon as the\ncontroller clears the rvalid flag in its DH-HMAC-CHAP success1 message,\nwithout looking at whether the host had asked the controller to\nauthenticate.  A host configured with a controller secret sends a\nchallenge in its reply, computes the expected controller response, and\nsets chap-\u003ebi_directional; if the controller then answers with\nrvalid = 0 the response is never compared, the host still sends\nsuccess2, and the queue is marked as authenticated.\n\nA malicious or man-in-the-middle controller therefore only has to clear\none flag to turn the configured bidirectional authentication into a\none-way one, without holding any secret of its own.  The target side\nalready treats the mirror image of this as fatal: when the host supplied\na challenge but no controller key is configured, nvmet_auth_success1()\nfails the authentication rather than answering with rvalid = 0.\n\nRefuse the connection if the controller returns no response although\nbidirectional authentication was requested.  chap-\u003ebi_directional is the\nright condition rather than ctrl-\u003ectrl_key, because secure concatenation\nsends a challenge only to derive the PSK and deliberately clears\nbi_directional; a one-way setup without a controller secret keeps\nreturning success as before."
          }
        ],
        "id": "CVE-2026-138814",
        "lastModified": "2026-12-01T06:17:27.930",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.4,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 5.2,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:35.207",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T06:05:14+00:00",
      "cve": "CVE-2026-138814",
      "id": "CVE-2026-138814",
      "initial_release_date": "2026-11-30T13:25:13.799000+00:00",
      "product_status:known_affected": "189",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: mutual authentication bypass in NVMe via unverified controller response",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138814.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.