CVE-2026-68100: ksmbd: validate num_subauth when copying ACE in set_ntacl_dacl

Published Aug 10, 2026
·
Updated

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

ksmbd: validate numsubauth when copying ACE in setntacldacl

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

On a subsequent SMB2QUERYINFO(SecInfo=DACL) for an inode carrying a POSIX access ACL, buildsecdesc() -> setntacldacl() -> setposixaclentriesdacl() walks the copied ACEs and reads

ntace->sid.subauth[ntace->sid.numsubauth - 1]

with numsubauth taken straight from the stored SD. Since subauth[] is fixed at SIDMAXSUBAUTHORITIES (15), a crafted numsubauth (e.g. 255) 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: parsedacl() -- numsubauth == 0 || > SIDMAXSUBAUTHORITIES parsesid() -- numsubauth > SIDMAXSUBAUTHORITIES smbcopysid() -- mint(u8, numsubauth, SIDMAXSUBAUTHORITIES) setntacldacl() is the lone inconsistent path that omits the check.

Add the same numsubauth validation in setntacldacl() before copying the ACE, matching the gate already enforced by parsedacl().

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In set_ntacl_dacl(), validate the ACE SID field num_subauth before copying, matching the gating already used by sibling functions parse_dacl() (num_subauth == 0 || > SID_MAX_SUB_AUTHORITIES) and parse_sid() (num_subauth > SID_MAX_SUB_AUTHORITIES).

    Linux kernel (ksmbd) set_ntacl_dacl() num_subauth validation when copying ACEs (ntace->sid.sub_auth[ntace->sid.num_subauth - 1]) = Add the same num_subauth validation as in parse_dacl()/parse_sid(): reject num_subauth == 0 or num_subauth > SID_MAX_SUB_AUTHORITIES before copying ACE bytes

Event History

Aug 10, 2026
CVE Published
via MITRE·11:58 AM
Data Sourced
via MITRE·11:58 AM
Description
Data Sourced
via NVD·01:19 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68100?

CVE-2026-68100 has been assigned a risk score of 23.

2

How does CVE-2026-68100 impact the Linux kernel?

CVE-2026-68100 allows an attacker to exploit vulnerabilities in the ACL handling of ksmbd by manipulating stored security descriptors.

3

How do I fix CVE-2026-68100?

To fix CVE-2026-68100, update your Linux kernel to the latest stable version where the vulnerability has been resolved.

4

Which versions of the Linux kernel are affected by CVE-2026-68100?

CVE-2026-68100 affects multiple versions of the Linux kernel that include the ksmbd service prior to the fix.

5

What are the potential consequences of exploiting CVE-2026-68100?

Exploitation of CVE-2026-68100 could lead to unauthorized access or modification of resources by manipulating access control entries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203