# CVE-2026-23364: ksmbd: Compare MACs in constant time

- Severity: High 7.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:46.960Z
- Modified: 2026-10-15T02:18:52.090Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 8a665d733940592e671ec6afadcd0be80a091a80; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before cd52a0e309659537048a864211abc3ea4c5caa63; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 307afccb751f542246bd5dc68a2c1ffe1a78418c; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 2cdc56ed67615ba0921383a688f24415ebe065f3; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 93c0a22fec914ec4b697e464895a0f594e29fb28; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before f4588b85efd6007d46b80aa1b9fb746628ffb3dc; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c5794709bc9105935dbedef8b9cf9c06f2b559fa; 5.15 (not affected: before 5.15; from 5.15.210 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.19 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15.1 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.19; from 6.19 before 6.19.7; 5.15; 7.0

## References

- <https://git.kernel.org/stable/c/8a665d733940592e671ec6afadcd0be80a091a80>
- <https://git.kernel.org/stable/c/cd52a0e309659537048a864211abc3ea4c5caa63> (patch)
- <https://git.kernel.org/stable/c/307afccb751f542246bd5dc68a2c1ffe1a78418c> (patch)
- <https://git.kernel.org/stable/c/2cdc56ed67615ba0921383a688f24415ebe065f3> (patch)
- <https://git.kernel.org/stable/c/93c0a22fec914ec4b697e464895a0f594e29fb28> (patch)
- <https://git.kernel.org/stable/c/f4588b85efd6007d46b80aa1b9fb746628ffb3dc> (patch)
- <https://git.kernel.org/stable/c/c5794709bc9105935dbedef8b9cf9c06f2b559fa> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23364](https://www.cve.org/CVERecord?id=CVE-2026-23364), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-23364](https://nvd.nist.gov/vuln/detail/CVE-2026-23364), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-23364 · Whole record: https://cve.day/CVE-2026-23364.json · Rebuilt by cve.day 2026-11-25T22:59:16.693Z
