Linux
ksmbd: Compare MACs in constant time
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Compare MACs in constant time To prevent timing attacks, MAC comparisons need to be constant-time. Replace the memcmp() with the correct function, crypto_memneq().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8a665d733940592e671ec6afadcd0be80a091a80
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < cd52a0e309659537048a864211abc3ea4c5caa63
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 307afccb751f542246bd5dc68a2c1ffe1a78418c
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 2cdc56ed67615ba0921383a688f24415ebe065f3
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 93c0a22fec914ec4b697e464895a0f594e29fb28
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f4588b85efd6007d46b80aa1b9fb746628ffb3dc
- >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < c5794709bc9105935dbedef8b9cf9c06f2b559fa
Fixed in 8a665d733940592e671ec6afadcd0be80a091a80, cd52a0e309659537048a864211abc3ea4c5caa63, 307afccb751f542246bd5dc68a2c1ffe1a78418c, 2cdc56ed67615ba0921383a688f24415ebe065f3, 93c0a22fec914ec4b697e464895a0f594e29fb28, f4588b85efd6007d46b80aa1b9fb746628ffb3dc, c5794709bc9105935dbedef8b9cf9c06f2b559fa
- 5.15
Fixed in 0, 5.15.210, 6.1.167, 6.6.130, 6.12.78, 6.18.19, 6.19.7, 7.0
Mitigation
Upgrade Linux to 8a665d733940592e671ec6afadcd0be80a091a80 or cd52a0e309659537048a864211abc3ea4c5caa63 or 307afccb751f542246bd5dc68a2c1ffe1a78418c or 2cdc56ed67615ba0921383a688f24415ebe065f3 or 93c0a22fec914ec4b697e464895a0f594e29fb28 or f4588b85efd6007d46b80aa1b9fb746628ffb3dc or c5794709bc9105935dbedef8b9cf9c06f2b559fa or later.
Upgrade Linux to 0 or 5.15.210 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.19 or 6.19.7 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.