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.
Published: 2026-08-15
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel's SMB server (ksmbd) incorrectly compares binary ClientGUID values using strncmp, which stops comparison at the first embedded NUL byte. This means distinct ClientGUIDs can be treated as equal, allowing an attacker to forge a session binding that should not be permitted. The flaw is an improper input validation weakness. The potential consequence is unauthorized access to SMB resources or elevated privileges within a kernel context, as the attacker can bypass authentication checks during SMB3 multichannel session binding or FSCTL_VALIDATE_NEGOTIATE_INFO.

Affected Systems

All Linux kernel installations that include ksmbd and have not applied the patch that replaces strncmp with memcmp() are vulnerable. The specific affected kernel versions are not listed in the provided data, so any kernel prior to the fix should be considered at risk.

Risk and Exploitability

The CVSS score of 9.1 indicates a high potential impact because it targets the authentication mechanism of the SMB protocol, but exploitation requires the attacker to send a crafted SMB3 request to a Linux machine exposing ksmbd. The EPSS score is < 1% and the issue is not listed in CISA's KEV catalog, indicating that widespread exploitation has not yet been observed. Nonetheless, the nature of the flaw allows privilege escalation or unauthorized access if an attacker can reach the SMB service. An attacker can likely exploit this remotely over the network using normal SMB traffic, making it relatively easy to trigger for an adversary with network connectivity.

Generated by OpenCVE AI on August 21, 2026 at 19:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a Linux kernel version that includes the patch replacing strncmp with memcmp() (e.g., install the latest stable kernel from your distribution).
  • If updating is not immediately possible, reconfigure the SMB service to disable SMB3 multichannel session binding or prevent FSCTL_VALIDATE_NEGOTIATE_INFO usage, if such an option exists.
  • Restrict network exposure of the SMB service by firewalling or isolating the server to prevent attackers from establishing SMB connections, and monitor for anomalous SMB traffic.

Generated by OpenCVE AI on August 21, 2026 at 19:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1025
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Mon, 17 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Sat, 15 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title ksmbd: use memcmp() to compare ClientGUIDs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:48:13.413Z

Reserved: 2026-08-15T05:44:03.911Z

Link: CVE-2026-74521

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:57.333

Modified: 2026-08-17T06:19:48.950

Link: CVE-2026-74521

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74521 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T20:00:13Z

Weaknesses
  • CWE-1025

    Comparison Using Wrong Factors

  • CWE-20

    Improper Input Validation