In the Linux kernel, the following vulnerability has been resolved: ksmbd: use memcmp() to compare ClientGUIDs ClientGUID is a fixed-size binary value and can contain embedded NUL bytes. strncmp() stops comparing at the first NUL byte, so different ClientGUID values can incorrectly be treated as equal. Use memcmp() in SMB3 multichannel session binding and FSCTL_VALIDATE_NEGOTIATE_INFO to compare all SMB2_CLIENT_GUID_SIZE bytes.
https://git.kernel.org/stable/c/e8bb506e6ef749ac0336f3e579d8d02396b7d832
https://git.kernel.org/stable/c/d535363299822c5caa543787b21bd5cfa3e41949
https://git.kernel.org/stable/c/ba2a5b66f1d414eb8403d655f8813783892cfc85
https://git.kernel.org/stable/c/a386c83043015a703e227775f778e40343f45911