CVE-2026-64389
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
25/07/2026
Última modificación:
25/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ksmbd: validate NTLMv2 response before updating session key<br />
<br />
ksmbd_auth_ntlmv2() derives the NTLMv2 session key into<br />
sess->sess_key before it verifies the NTLMv2 response.<br />
ksmbd_decode_ntlmssp_auth_blob() then continues into KEY_XCH even<br />
when ksmbd_auth_ntlmv2() failed.<br />
<br />
With SMB3 multichannel binding, the failed authentication operates on<br />
an existing session and the session setup error path does not expire<br />
binding sessions. A client can send a binding session setup with a<br />
bad NT proof and KEY_XCH and still modify sess->sess_key before<br />
STATUS_LOGON_FAILURE is returned.<br />
<br />
Relevant path:<br />
<br />
smb2_sess_setup()<br />
-> conn->binding = true<br />
-> ntlm_authenticate()<br />
-> session_user()<br />
-> ksmbd_decode_ntlmssp_auth_blob()<br />
-> ksmbd_auth_ntlmv2()<br />
-> calc_ntlmv2_hash()<br />
-> hmac_md5_usingrawkey(..., sess->sess_key)<br />
-> crypto_memneq() returns mismatch<br />
-> KEY_XCH arc4_crypt(..., sess->sess_key, ...)<br />
-> out_err without expiring the binding session<br />
<br />
Derive the base session key into a local buffer and copy it to<br />
sess->sess_key only after the proof matches. Return immediately on<br />
authentication failure so KEY_XCH is only processed after successful<br />
authentication.



