{
  "id": "CVE-2026-64389",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64389",
  "published_at": "2026-07-25T08:50:36.817Z",
  "title": "ksmbd: validate NTLMv2 response before updating session key",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate NTLMv2 response before updating session key\n\nksmbd_auth_ntlmv2() derives the NTLMv2 session key into\nsess-\u003esess_key before it verifies the NTLMv2 response.\nksmbd_decode_ntlmssp_auth_blob() then continues into KEY_XCH even\nwhen ksmbd_auth_ntlmv2() failed.\n\nWith SMB3 multichannel binding, the failed authentication operates on\nan existing session and the session setup error path does not expire\nbinding sessions. A client can send a binding session setup with a\nbad NT proof and KEY_XCH and still modify sess-\u003esess_key before\nSTATUS_LOGON_FAILURE is returned.\n\nRelevant path:\n\n  smb2_sess_setup()\n    -\u003e conn-\u003ebinding = true\n    -\u003e ntlm_authenticate()\n       -\u003e session_user()\n       -\u003e ksmbd_decode_ntlmssp_auth_blob()\n          -\u003e ksmbd_auth_ntlmv2()\n             -\u003e calc_ntlmv2_hash()\n             -\u003e hmac_md5_usingrawkey(..., sess-\u003esess_key)\n             -\u003e crypto_memneq() returns mismatch\n          -\u003e KEY_XCH arc4_crypt(..., sess-\u003esess_key, ...)\n    -\u003e out_err without expiring the binding session\n\nDerive the base session key into a local buffer and copy it to\nsess-\u003esess_key only after the proof matches. Return immediately on\nauthentication failure so KEY_XCH is only processed after successful\nauthentication.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c e589e997bddde0a6f45672dd871cba7b3ff28e17",
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c a6a951416b55eaf51ea2742f7ba786f240e70137",
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c f5d74c186bab26a5d5a025305e67edd0888aa34d",
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c b56400364aed5c34d6e1a0b493081290a5328a9c",
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c 89ca7756d5566ba636bb9092cdbe57dab095e136",
          "\u003e= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \u003c 954d196bebb2b50151cb96454c72dc113b2af1ac"
        ],
        "fixed_in": [
          "e589e997bddde0a6f45672dd871cba7b3ff28e17",
          "a6a951416b55eaf51ea2742f7ba786f240e70137",
          "f5d74c186bab26a5d5a025305e67edd0888aa34d",
          "b56400364aed5c34d6e1a0b493081290a5328a9c",
          "89ca7756d5566ba636bb9092cdbe57dab095e136",
          "954d196bebb2b50151cb96454c72dc113b2af1ac"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.40",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e589e997bddde0a6f45672dd871cba7b3ff28e17 or a6a951416b55eaf51ea2742f7ba786f240e70137 or f5d74c186bab26a5d5a025305e67edd0888aa34d or b56400364aed5c34d6e1a0b493081290a5328a9c or 89ca7756d5566ba636bb9092cdbe57dab095e136 or 954d196bebb2b50151cb96454c72dc113b2af1ac or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.40 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
