
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23364 is a timing-based MAC comparison vulnerability in the Linux kernel's ksmbd (in-kernel SMB server) component. The flaw arises because MAC (Message Authentication Code) comparisons use the non-constant-time memcmp() function instead of the cryptographically safe crypto_memneq(), making the comparisons susceptible to timing side-channel attacks. Affected kernel versions include 5.15.1 through 6.1.166, 6.2 through 6.6.129, 6.7 through 6.12.77, 6.13 through 6.18.18, 6.19 through 6.19.6, and 7.0-rc1/rc3–rc7. It was published on March 25, 2026, and carries a CVSS v3.1 base score of 7.4 (High) (Red Hat CVE, Microsoft MSRC).
The root cause is classified as CWE-208 (Observable Timing Discrepancy). In the ksmbd SMB server implementation, MAC values used for SMB message authentication are compared using memcmp(), which short-circuits on the first differing byte and thus leaks timing information proportional to how many leading bytes match. An unauthenticated network attacker can exploit this by sending crafted SMB authentication requests and measuring response times to recover MAC values byte-by-byte, effectively forging authentication credentials. No user interaction is required, but exploitation demands high attack complexity due to the precision of timing measurements needed. The fix replaces memcmp() with crypto_memneq(), which performs comparisons in constant time regardless of input (Red Hat CVE, Kernel Patch).
Successful exploitation could allow a network-adjacent attacker to forge SMB authentication credentials by recovering MAC values through timing analysis, leading to unauthorized access to SMB shares and confidential data. Both confidentiality and integrity are rated HIGH impact, as an attacker who bypasses authentication could read sensitive files and potentially modify data on exposed SMB services. Availability is not directly impacted. Systems running ksmbd as an SMB server and exposed to untrusted networks are at greatest risk, with potential for lateral movement within environments relying on SMB for file sharing (Red Hat CVE, Microsoft MSRC).
memcmp() returns early on the first mismatched byte, a slightly longer response time indicates a correct byte at the current position.Apply the available kernel updates containing the fix (replacing memcmp() with crypto_memneq() in ksmbd MAC comparison). Fixed versions are: 6.1.167 or later (6.1.x branch), 6.6.130 or later (6.2–6.6.x branch), 6.12.78 or later (6.7–6.12.x branch), 6.18.19 or later (6.13–6.18.x branch), 6.19.7 or later (6.19.x branch), and 7.0-rc2 or later. Multiple upstream kernel commits are available at git.kernel.org. For systems that cannot be patched immediately, disable or restrict network access to the ksmbd SMB service (TCP port 445) using firewall rules, or limit SMB exposure to trusted network segments only (Red Hat CVE, Microsoft MSRC).
Red Hat and Microsoft both tracked and published advisories for this vulnerability shortly after its disclosure in March 2026. Debian issued security updates (DSA and LTS advisories) addressing this CVE in the linux package, and the Yocto Project security mailing list also flagged it for embedded Linux users. No notable independent researcher commentary or significant social media discussion has been identified beyond standard vendor and distribution tracking.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."