Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7bde6f181fa307d2cc1ec2b0313ac8e9811c8232affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 5a0367bf5ce420be7b19936def2e90adcf32a683affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ba2a5b66f1d414eb8403d655f8813783892cfc85affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < a386c83043015a703e227775f778e40343f45911affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d535363299822c5caa543787b21bd5cfa3e41949affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < e8bb506e6ef749ac0336f3e579d8d02396b7d832affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7bde6f181fa307d2cc1ec2b0313ac8e9811c8232 ↗
- https://git.kernel.org/stable/c/5a0367bf5ce420be7b19936def2e90adcf32a683 ↗
- https://git.kernel.org/stable/c/ba2a5b66f1d414eb8403d655f8813783892cfc85 ↗
- https://git.kernel.org/stable/c/a386c83043015a703e227775f778e40343f45911 ↗
- https://git.kernel.org/stable/c/d535363299822c5caa543787b21bd5cfa3e41949 ↗
- https://git.kernel.org/stable/c/e8bb506e6ef749ac0336f3e579d8d02396b7d832 ↗