Back to CVE records
High 8.2Published Jul 25, 2026

CVE-2026-64389ksmbd: validate NTLMv2 response before updating session key

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate NTLMv2 response before updating session key ksmbd_auth_ntlmv2() derives the NTLMv2 session key into sess->sess_key before it verifies the NTLMv2 response. ksmbd_decode_ntlmssp_auth_blob() then continues into KEY_XCH even when ksmbd_auth_ntlmv2() failed. With SMB3 multichannel binding, the failed authentication operates on an existing session and the session setup error path does not expire binding sessions. A client can send a binding session setup with a bad NT proof and KEY_XCH and still modify sess->sess_key before STATUS_LOGON_FAILURE is returned. Relevant path: smb2_sess_setup() -> conn->binding = true -> ntlm_authenticate() -> session_user() -> ksmbd_decode_ntlmssp_auth_blob() -> ksmbd_auth_ntlmv2() -> calc_ntlmv2_hash() -> hmac_md5_usingrawkey(..., sess->sess_key) -> crypto_memneq() returns mismatch -> KEY_XCH arc4_crypt(..., sess->sess_key, ...) -> out_err without expiring the binding session Derive the base session key into a local buffer and copy it to sess->sess_key only after the proof matches. Return immediately on authentication failure so KEY_XCH is only processed after successful authentication.

CVSS
8.2 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 21, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a6a951416b55eaf51ea2742f7ba786f240e70137; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before f5d74c186bab26a5d5a025305e67edd0888aa34d; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before b56400364aed5c34d6e1a0b493081290a5328a9c; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 89ca7756d5566ba636bb9092cdbe57dab095e136; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 954d196bebb2b50151cb96454c72dc113b2af1ac
CNA record
linux linux_kernel
linux:linux_kernel
from 5.15 before 6.18.40; from 6.19 before 7.1.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.