Description
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.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the ksmbd component incorrectly handles the copying of access control entries (ACEs) when the size accounting of a DACL overflows. The function that copies the ACEs stops early, but the later deduplication routine still iterates over the original count of NT ACEs, walking past the actually copied array and reading the uninitialized tail buffer. This out-of-bounds read can leak kernel memory contents and potentially enable more advanced exploitation techniques if the attacker can observe or manipulate the leaked data.

Affected Systems

All Linux kernel releases that include the ksmbd SMB server implementation prior to the patch that fixes the deduplication bounds. The vulnerability is addressed at the kernel level and applies to any host running an affected kernel with ksmbd enabled.

Risk and Exploitability

The CVSS score for this weakness is not disclosed, but the vulnerability demonstrates a classic out-of-bounds read (CWE-125). The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. Access to the ksmbd service, which is typically exposed to SMB clients, is required for exploitation; therefore the likelihood of remote exploitation depends on network exposure and the presence of privileged users. The attack would likely involve sending specially crafted SMB requests to trigger the faulty dedup walk and extract kernel memory.

Generated by OpenCVE AI on August 10, 2026 at 13:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release containing the ksmbd dedup bug fix (the fix is included in commit 58d97fcd0bf1aee694e244cc28635b9df95b543b and subsequent kernel releases).
  • If a kernel upgrade cannot be performed immediately, configure the host to disable the ksmbd service or restrict SMBv1 traffic until the fix is deployed.
  • Restrict SMB client access to trusted networks and consider disabling SMBv1 entirely, as ksmbd may be susceptible to similar vulnerabilities in older protocol versions.

Generated by OpenCVE AI on August 10, 2026 at 13:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ksmbd: bound DACL dedup walk to copied ACEs
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-10T11:58:12.768Z

Reserved: 2026-07-30T09:28:09.368Z

Link: CVE-2026-68098

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:15:03Z

Weaknesses