title: ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
description: 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.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: bd554ed4fdc3, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 30fd6521b2fb, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 7f1d6cb0eb6a, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: ecd7e1c562cb, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 4b081ce0d830, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.15.145, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.52, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.4.15, lessThanOrEqual: 6.4.*, status: unaffected, versionType: custom
version: 6.5.2, lessThanOrEqual: 6.5.*, status: unaffected, versionType: custom
version: 6.6, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
