Skip to main content

Linux ksmbd CVE-2026-68100

| EUVDEUVD-2026-55481 HIGH
Out-of-bounds Read (CWE-125)
2026-08-10 Linux GHSA-gx4w-gwrq-p4gh
8.1
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege SMB credentials
  2. Delivery
    Connect to ksmbd server on TCP/445
  3. Exploit
    Send SET_INFO DACL with num_subauth=255 ACE
  4. Execution
    Malformed SD stored to inode xattr
  5. Persist
    Issue QUERY_INFO on POSIX ACL-bearing inode
  6. Impact
    OOB heap read returns ~1 KB of kernel memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three specific prerequisites must all be satisfied: (1) ksmbd must be explicitly loaded and configured on the target Linux host - this is NOT a default configuration in any mainstream Linux distribution (Debian, Ubuntu, RHEL, SUSE) and requires deliberate operator action to enable CONFIG_SMB_SERVER and configure ksmbd.conf; (2) the attacker must hold a valid low-privilege SMB authentication credential for the server (PR:L per CVSS vector), meaning unauthenticated external attackers cannot exploit this without first obtaining credentials; (3) the information disclosure phase (C:H) requires querying a specific inode that has a POSIX access ACL assigned via setfacl, which is not present on files by default but is common in shared directory environments using ACL-based access control. The availability impact (kernel panic/oops) may be reachable if the out-of-bounds heap read accesses unmapped memory, potentially without requiring a POSIX ACL on the target inode. Limiting factors: non-default kernel feature requiring explicit operator enablement; valid SMB credentials required; POSIX ACL dependency for the information disclosure path; no UI:N bypass of auth requirement.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, score 8.1) accurately captures the core risk profile: the attack path is network-reachable over the standard SMB port, requires only a low-privilege authenticated session, and imposes no meaningful complexity beyond knowledge of SMB2 protocol internals. The C:H rating is credible because the ~1 KB heap read at an attacker-controlled offset can expose cryptographic keying material, cached credentials, or other sensitive kernel data structures; the A:H rating reflects that an out-of-bounds heap read in kernel context can trigger an oops or panic, taking down the SMB service or entire host. However, several signals moderate the urgency for most environments: EPSS is extremely low at 0.17% (6th percentile), indicating the security research community has not yet developed or published working exploit code, and the vulnerability is absent from CISA KEV, confirming no confirmed widespread active exploitation as of analysis. The attack surface is meaningfully constrained - ksmbd must be explicitly enabled by the operator (it is not default-on in any major distribution), and the information disclosure phase additionally requires the target inode to carry a POSIX access ACL. Even a mid-sized municipal IT team in ustka running ksmbd for internal NAS workloads should treat this as a standard patch-cycle priority where SMB shares are accessible to partially trusted networks, but the combination of low EPSS and non-default deployment requirements does not support emergency out-of-band patching for most organizations. The CVSS availability impact and low EPSS are not conflicting - the crash vector exists independently of whether exploitation of the information leak has been demonstrated.

Exploit ScenarioDerived

An attacker holding a low-privilege SMB account on a ksmbd-enabled Linux file server sends a crafted SMB2_SET_INFO request with SecInfo=DACL, embedding an ACE whose sid.num_subauth is set to 255; parse_dacl() fails to reject this value due to its break-on-error path, and the malformed security descriptor is written to the inode's security xattr. The attacker then issues an SMB2_QUERY_INFO request targeting an inode with a POSIX access ACL, causing set_posix_acl_entries_dacl() to evaluate sub_auth[254] - well beyond the 15-element array - leaking approximately 1 KB of kernel heap contents back through the SMB response. No public proof-of-concept has been identified at time of analysis, but the two-step protocol sequence is mechanically straightforward for an attacker with SMB2 protocol knowledge.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Out-of-bounds heap read in the Linux kernel's ksmbd in-kernel SMB server allows an authenticated network attacker to disclose approximately 1 KB of kernel heap memory at an attacker-controlled offset and potentially crash the ksmbd service or host kernel. The flaw resides in set_ntacl_dacl(), which copies ACEs from a previously stored attacker-controlled security descriptor without validating sid.num_subauth against the fixed SID_MAX_SUB_AUTHORITIES (15) array bound, enabling a crafted num_subauth value of up to 255 to drive a sub_auth[] array overread. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade to a patched kernel: 6.6.148 or later (6.6 LTS branch), 6.12.101 or later (6.12 LTS branch), 6.18.42 or later (6.18 branch), 7.1.6 or later (7.1 branch), or 7.2-rc2 or later for mainline testing. Upstream stable fix commits are available at git.kernel.org/stable (see References above). Distribution-packaged kernel updates from RHEL, Debian, Ubuntu, SUSE, and others should be monitored for availability. If an immediate kernel update is not feasible, the most effective compensating control is to disable ksmbd entirely by unloading the module (modprobe -r ksmbd) and blacklisting it in /etc/modprobe.d/ - this eliminates the attack surface completely but removes all in-kernel SMB serving capability; Samba (userspace smbd) can serve as a functional replacement without disrupting SMB shares. If ksmbd must remain active, restrict TCP/445 access to only trusted network segments and authenticated IP ranges using host-based firewall rules (nftables or iptables), reducing the attacker pool from any network-reachable principal to compromised internal credentials only - note this does not prevent exploitation by a legitimate low-privilege internal user. Additionally, removing POSIX ACLs from shared directories (setfacl --remove-all) eliminates the QUERY_INFO trigger path for information disclosure, though the availability (crash) vector may remain reachable via unmapped memory access.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5acbd3012fd4a7ccfebd91ea6f784120084eb897
Linux 0 <6.6.148
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e31fada5143784bc05c7ae44c79eed9b7a2e147e
Linux 0 <6.12.101
Linux patch: 7.2-rc2
Linux 0 <6.18.42
Linux patch: 6.6.148
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b6d3cc6a524416dfdb2b47e4bba2e7e20011d056
Linux patch: 6.18.42
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <47f0b34f6bc98ed85bfdc293e8f3e432ec24958d
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fb3dc8e6da46a1ccad1956cda57de29d9b3033e0
Linux patch: 6.12.101
Linux 0 <7.1.6
Linux patch: 7.1.6

Affected Packages

euvd linux fix: 6.6.148, 6.12.101, 6.18.42, 7.1.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ksmbd is the in-kernel SMB3 server (CONFIG_SMB_SERVER, kernel module ksmbd.ko) introduced in Linux 5.15, serving SMB2/3 traffic over TCP/445. The vulnerable code path is in fs/smb/server/smbacl.c: set_ntacl_dacl() is invoked during SMB2_QUERY_INFO(SecInfo=DACL) when the target inode carries a POSIX access ACL. A Windows NT SID structure has a variable-length sub_auth[] array with a compile-time maximum of SID_MAX_SUB_AUTHORITIES (15 elements); the runtime count is stored in the one-byte num_subauth field. The attack is a two-phase sequence: in phase one, an attacker sends SMB2_SET_INFO(SecInfo=DACL) with an ACE containing num_subauth=255; parse_dacl() encounters the invalid value but issues a break rather than a return error, so parse_sec_desc() returns success and the malformed security descriptor is persisted raw into the inode's security xattr via ksmbd_vfs_set_sd_xattr(). In phase two, a subsequent QUERY_INFO call on an inode with a POSIX ACL causes set_posix_acl_entries_dacl() to evaluate ntace->sid.sub_auth[ntace->sid.num_subauth - 1], accessing sub_auth[254] - approximately 960 bytes beyond the 15-element boundary - resulting in a CWE-125 out-of-bounds heap read. Sibling functions parse_dacl(), parse_sid(), and smb_copy_sid() all validate num_subauth against SID_MAX_SUB_AUTHORITIES; set_ntacl_dacl() was the sole omission. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Network-reachable via SMB; PR:L for required authenticated session; C:H for controlled-offset heap leak; A:H for kernel crash potential; I:N as no write primitive is present.

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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Red Hat 7.0 MEDIUM

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
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 13, 2026 - 23:37 NVD
8.1 (HIGH)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 11:58 cve.org
HIGH 8.1
CVE Published
Aug 10, 2026 - 11:58 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ksmbd: validate num_subauth when copying ACE in set_ntacl_dacl

set_ntacl_dacl() copies each ACE from the attacker-controlled stored security descriptor verbatim into the response DACL without checking sid.num_subauth. The ACE bytes (including an unchecked num_subauth) originate from an authenticated SMB2_SET_INFO(SecInfo=DACL) that is stored raw via ksmbd_vfs_set_sd_xattr(); parse_dacl() rejects a bad ACE with break rather than an error, so parse_sec_desc() still returns success and the malformed SD reaches the xattr intact.

On a subsequent SMB2_QUERY_INFO(SecInfo=DACL) for an inode carrying a POSIX access ACL, build_sec_desc() -> set_ntacl_dacl() -> set_posix_acl_entries_dacl() walks the copied ACEs and reads

ntace->sid.sub_auth[ntace->sid.num_subauth - 1]

with num_subauth taken straight from the stored SD. Since sub_auth[] is fixed at SID_MAX_SUB_AUTHORITIES (15), a crafted num_subauth (e.g.

  1. drives an out-of-bounds heap read of ~1 KB with an offset fully

controlled by an authenticated client.

The sibling functions already gate this field: parse_dacl() -- num_subauth == 0 || > SID_MAX_SUB_AUTHORITIES parse_sid() -- num_subauth > SID_MAX_SUB_AUTHORITIES smb_copy_sid() -- min_t(u8, num_subauth, SID_MAX_SUB_AUTHORITIES) set_ntacl_dacl() is the lone inconsistent path that omits the check.

Add the same num_subauth validation in set_ntacl_dacl() before copying the ACE, matching the gate already enforced by parse_dacl().

Executive ViewAI

Why It Matters

Linux kernel ksmbd in-kernel SMB server contains an out-of-bounds heap read vulnerability (CVE-2026-68100) that allows authenticated network attackers to disclose up to 1 KB of kernel heap memory or crash the service. No public exploit identified at time of analysis. Organizations operating Linux file servers using ksmbd should prioritize patching to protect against kernel memory disclosure and denial-of-service attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
ksmbd is optional Linux kernel SMB server, not default-enabled
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
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

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