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: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the ksmbd SMB server had an issue where copying access control entries (ACEs) could stop early when a DACL size overflow occurred. The later deduplication routine still used the original NT ACE count, causing it to walk past the actual copied array and read from uninitialized memory. This out-of-bounds read can expose kernel data. Based on the description, it is inferred that an attacker could trigger the read by sending specially crafted SMB requests to ksmbd and potentially use the leaked data as a foothold for further exploitation.

Affected Systems

All Linux kernel releases that include the ksmbd SMB server implementation before the patch are affected. The version details are not specified in the advisory, so any system running an affected kernel with ksmbd enabled is at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity for an out-of-bounds read (CWE‑125). The EPSS score is < 1 % and it is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves remote SMB traffic; an attacker would need network access to the ksmbd service and would need to send crafted SMB packets to provoke the faulty dedup walk. If successful, kernel memory could be read, potentially enabling further compromise.

Generated by OpenCVE AI on August 14, 2026 at 01:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the ksmbd dedup bug fix (the change is included in commit 58d97fcd0bf1aee694e244cc28635b9df95b543b and subsequent releases).
  • If a kernel upgrade is not immediately possible, disable the ksmbd service or restrict access to trusted networks only, and disable SMBv1 if used.
  • Ensure that any SMB connections to the host are authenticated and that file sharing is limited; consider disabling SMB entirely on systems where it is unnecessary.

Generated by OpenCVE AI on August 14, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


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-17T04:58:46.978Z

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

Link: CVE-2026-68098

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:19:54.200

Modified: 2026-08-17T05:18:09.160

Link: CVE-2026-68098

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T11:58:12Z

Links: CVE-2026-68098 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T02:00:15Z

Weaknesses