Skip to main content

Linux Kernel ksmbd CVE-2026-68098

| EUVDEUVD-2026-55479 HIGH
2026-08-10 Linux GHSA-v5fh-ff84-cfpv
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.8 HIGH

SMB network exposure justifies AV:N; PR:L reflects mandatory authenticated SMB session; high C/I/A metrics are consistent with potential kernel memory corruption from invalid ACE data processing.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
5.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:H
Red Hat
5.5 MEDIUM
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
Aug 14, 2026 - 02:12 vuln.today
CVSS changed
Aug 13, 2026 - 23:37 NVD
8.8 (HIGH)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 11:58 cve.org
HIGH 8.8
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: bound DACL dedup walk to copied ACEs

set_ntacl_dacl() can stop copying ACEs before consuming the full input DACL when size accounting overflows.

When that happens, num_aces reflects only the ACEs that were actually copied into the output DACL, but set_posix_acl_entries_dacl() still receives nt_num_aces and uses it to walk the existing ACE array during dedup.

That makes the dedup walk scan past the copied ACE array and inspect buffer tail that does not contain valid ACEs.

Split the two meanings currently carried by the NT ACE count. Pass the number of copied NT ACEs to bound the dedup walk, and preserve the original "input DACL had NT ACEs" state separately for the Everyone/default ACL fallback.

This keeps the dedup walk aligned with the ACEs that are actually present in the rebuilt DACL.

AnalysisAI

Kernel memory corruption via out-of-bounds ACE dedup walk in the Linux kernel's ksmbd SMB server subsystem exposes any network-reachable Linux host running ksmbd to high-impact compromise with only low-privilege SMB authentication. When set_ntacl_dacl() terminates ACE copying early due to a size-accounting overflow, set_posix_acl_entries_dacl() continues iterating using the original inflated nt_num_aces count rather than the count of ACEs actually copied, causing the dedup walk to scan into uninitialized buffer tail memory. No public exploit or CISA KEV entry exists at time of analysis, and EPSS remains low at 0.17%, but the patch is available across multiple stable kernel branches and should be applied promptly on any ksmbd-enabled deployment.

Technical ContextAI

ksmbd is the in-kernel SMB (Server Message Block) server introduced in Linux 5.15 as a high-performance alternative to userspace Samba. The vulnerability resides in DACL (Discretionary Access Control List) processing: set_ntacl_dacl() copies NT ACEs (Access Control Entries) from a client-supplied input DACL into an output structure, stopping early when cumulative size accounting overflows an internal bound. The dedup function set_posix_acl_entries_dacl() then walks the ACE array for deduplication using nt_num_aces - the original input count - rather than the count of ACEs that were actually transferred. This off-by-variable mismatch drives the walk past the populated region into buffer tail memory that holds no valid ACE data. The root cause class aligns with CWE-125 (Out-of-Bounds Read) or CWE-120 (Buffer Copy Without Checking Size of Input), even though CWE is listed as N/A in the NVD entry. The fix decouples the two semantic meanings carried by the NT ACE count, passing the copied-ACE count to bound the dedup walk while preserving the original input-count state for the Everyone/default ACL fallback path. Affected CPE: cpe:2.3:a:linux:linux across multiple stable branches. The bug is reachable only when ksmbd is loaded and an SMB share is configured.

RemediationAI

Upgrade to patched Linux kernel versions 6.6.148, 6.12.101, 6.18.42, or 7.1.6 as appropriate for the deployed stable branch (7.2-rc5 for mainline tracking). Fix commits are available in the stable kernel tree: 6d9d7aa4a2c99c31acfa28921c30b684110cf66c, b057a851129c6a084e7e393b62ca3abf6c2660bc, f1eba60db813ec28732bf18b5f0a67ebac9c3100, a0ebdaa79e10210d4e8ed9fe138e8f4d569719e3, and 58d97fcd0bf1aee694e244cc28635b9df95b543b at https://git.kernel.org/stable/. If a kernel upgrade cannot be applied immediately, unloading the ksmbd module (modprobe -r ksmbd) is an effective compensating control that eliminates the attack surface entirely, at the trade-off of losing in-kernel SMB server functionality - Samba userspace remains available as an alternative. If ksmbd must stay active, restrict access to TCP port 445 via firewall rules to only trusted internal hosts, and audit SMB user accounts to minimize the number of principals with authenticated SMB access. Advisory reference: https://nvd.nist.gov/vuln/detail/CVE-2026-68098.

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

Share

CVE-2026-68098 vulnerability details – vuln.today

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