{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f50fff73d620cd6e8f48bc58d4f1c944615a3fea"
            },
            {
              "fixed": "f6f549724abbbd5d9bb5e41c6ea591236149200f"
            },
            {
              "fixed": "6377319ad353a406c99eee6d9d70b4692cf07cd4"
            },
            {
              "fixed": "d066d556d1ccb12b07acd4b72537d1a6e9551a43"
            },
            {
              "fixed": "81b9f59167067b5fbb4f2ae65498194085bbffe3"
            },
            {
              "fixed": "fba302332547210e81c7d26778bad245de580e8f"
            },
            {
              "fixed": "f9e43d924bc74feeb56197de82b2845de2a4b85a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138814.json"
  },
  "details": "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",
  "modified": "2026-12-01T06:45:17.990691644Z",
  "published": "2026-11-30T13:25:13.799Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6377319ad353a406c99eee6d9d70b4692cf07cd4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/81b9f59167067b5fbb4f2ae65498194085bbffe3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d066d556d1ccb12b07acd4b72537d1a6e9551a43"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6f549724abbbd5d9bb5e41c6ea591236149200f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9e43d924bc74feeb56197de82b2845de2a4b85a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fba302332547210e81c7d26778bad245de580e8f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138814.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138814"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nvme-auth: fail when the controller does not authenticate itself"
}