ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
If authblob->SessionKey.Length is bigger than session key size(CIFS_KEY_SIZE), slub overflow can happen in key exchange codes. cifs_arc4_crypt copy to session key array from SessionKey from client.
From the CVE record · Linux
The Linux kernel's ksmbd component can overflow a session-key array when a client supplies an NTLMSSP authentication blob with a SessionKey.Length larger than CIFS_KEY_SIZE. This can occur during key exchange while the client's authentication blob is being processed; no user interaction is described.
Engineers running Linux kernels with ksmbd should check their deployments; affected versions are not specified.