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

ksmbd: validate ACE size against SID sub-authorities

set_ntacl_dacl() validates sid.num_subauth before copying an ACE, but
does not verify that the declared ACE size contains all sub-authorities
described by that field. An undersized ACE can therefore be copied
and later make the POSIX ACL deduplication walk inspect data beyond
the copied ACE boundary.

The existing initial bound check is also too small. It only ensures
that the ACE size field is accessible before set_ntacl_dacl() reads
sid.num_subauth farther into the input buffer.

Require enough input for the fixed SID header before accessing
num_subauth, reject ACEs smaller than that header, and skip ACEs
whose declared size cannot contain the complete SID. This makes the
validation consistent with the other ACE walk paths.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The ksmbd module in the Linux kernel had an input validation flaw where the size of an ACE was not fully checked against the contained SID sub‑authorities. An undersized ACE could be copied, and later during a POSIX ACL deduplication walk, the kernel would read data past the copied ACE boundary. This memory corruption could be exploited to gain code execution in kernel context or do denial of service. The flaw arises when incorrectly formatted SMB ACL data is processed by a running ksmbd service.

Affected Systems

The issue applies to the Linux kernel’s ksmbd component in all released versions prior to the documented fix. No specific version list is supplied, so any kernel that includes ksmbd and does not contain the later patch is potentially affected.

Risk and Exploitability

Because the vulnerability results in a kernel buffer overflow, the risk is high. The EPSS score is not available, but the CVE is not listed in the CISA KEV catalogue, suggesting no known active exploitation. An attacker would need the ability to send malicious SMB ACL descriptors to the target, implying a remote attack vector. Proper patching removes the vulnerability and eliminates the kernel memory corruption path.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the ksmbd patch (commits 337022d9dfac441c3b35e4455a51aa981996e02e and related updates).
  • If the kernel cannot be updated immediately, disable the ksmbd service or block inbound SMB traffic (port 445) to prevent attackers from sending crafted ACL data.
  • Keep the system monitored for anomalous SMB traffic and kernel panics, and plan for a timely kernel upgrade as a long‑term fix.

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-20

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: validate ACE size against SID sub-authorities set_ntacl_dacl() validates sid.num_subauth before copying an ACE, but does not verify that the declared ACE size contains all sub-authorities described by that field. An undersized ACE can therefore be copied and later make the POSIX ACL deduplication walk inspect data beyond the copied ACE boundary. The existing initial bound check is also too small. It only ensures that the ACE size field is accessible before set_ntacl_dacl() reads sid.num_subauth farther into the input buffer. Require enough input for the fixed SID header before accessing num_subauth, reject ACEs smaller than that header, and skip ACEs whose declared size cannot contain the complete SID. This makes the validation consistent with the other ACE walk paths.
Title ksmbd: validate ACE size against SID sub-authorities
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:11.289Z

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

Link: CVE-2026-68097

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T13:30:05Z

Weaknesses
  • CWE-20

    Improper Input Validation