Skip to main content

Linux ksmbd CVE-2026-64138

| EUVDEUVD-2026-45823 HIGH
2026-07-19 Linux GHSA-23jx-58r9-pwv6
8.8
CVSS 3.1 · Vendor: Linux
Share

Severity by source

Vendor (Linux) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
8.1 HIGH

Authenticated SMB user (PR:L) triggers a network-reachable OOB read yielding kernel memory disclosure (C:H) and potential crash (A:H); no clear integrity write, so I:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 20, 2026 - 17:41 vuln.today
CVSS changed
Jul 20, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:40 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 15:40 cve.org
HIGH 8.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: validate SID in parent security descriptor during ACL inheritance

Introduce smb_validate_ntsd_sid() helper to safely validate Owner SID and Group SID inside the NT Security Descriptor (smb_ntsd) retrieved from the parent directory.

AnalysisAI

Out-of-bounds memory access in the Linux kernel's ksmbd (in-kernel SMB3 server) occurs during ACL inheritance, where Owner and Group SIDs read from a parent directory's NT Security Descriptor were used without bounds validation. An authenticated SMB user able to write to a share can craft or place a malformed security descriptor so that a subsequent create operation reads past buffer boundaries, enabling kernel information disclosure and potential denial of service. There is no public exploit identified at time of analysis, and EPSS exploitation probability is low (0.17%, 6th percentile).

Technical ContextAI

ksmbd is the Linux kernel's native SMB3 file server, an alternative to the userspace Samba daemon that runs entirely in kernel context, so parsing bugs translate directly into kernel-memory safety issues. When a new file or directory is created on a share, ksmbd performs ACL inheritance by reading the parent directory's stored NT Security Descriptor (smb_ntsd), which contains OwnerSid and GroupSid offset fields pointing into a variable-length blob. Before this fix the code dereferenced those SIDs without confirming that the declared offsets and SID sub-authority counts stayed within the descriptor buffer; the patch adds a smb_validate_ntsd_sid() helper to bounds-check each SID prior to use. The root cause is the missing validation class (out-of-bounds read on attacker-influenced offset data); the CVE lists CWE as N/A, but this maps to CWE-125 (Out-of-bounds Read). Affected component is identified only generically by CPE as cpe:2.3:a:linux:linux:*, which does not isolate the ksmbd module.

RemediationAI

Vendor-released patch: upgrade to a fixed Linux stable kernel - 6.12.92, 6.18.34, 7.0.11, or 7.1 (or later within each series), per the git.kernel.org stable commits f0e5c9c663badc9982e6941322eef1cb17de0f11, 18d8db24b0a5b7be4829238dd4022236df02d421, 1c9d0646a9959752f11ca1080dc1ff26bd1756cb, and 69f030cf95488ae1186c72ac8c66fd279664ea7f. If patching cannot be scheduled immediately, the most effective compensating control is to disable the ksmbd server (unload/blacklist the ksmbd kernel module and stop exporting SMB shares via ksmbd), falling back to userspace Samba where SMB service is required - the trade-off is loss of the in-kernel server's performance. Where ksmbd must remain enabled, restrict share access to trusted authenticated principals and remove write permissions from untrusted users, since exploitation requires an authenticated user who can influence a parent directory's security descriptor; also restrict network reachability of SMB (TCP 445) to trusted segments via firewall, accepting reduced client accessibility. Reference the advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-64138.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-64138 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy