CVE-2026-68099: ksmbd: restore DACL size on check_add_overflow() to avoid malformed ACL

Published Aug 10, 2026
·
Updated

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

ksmbd: restore DACL size on checkaddoverflow() to avoid malformed ACL

checkaddoverflow() unconditionally writes the truncated sum into d even on overflow, per its contract in include/linux/overflow.h. The four checkaddoverflow() guards in setposixaclentriesdacl() and setntacldacl() break out of the ACE-building loops on overflow, but the truncated size is then consumed downstream at the end of setntacldacl():

pndacl->size = cputole16(le16tocpu(pndacl->size) + size);

This produces an on-wire NT ACL whose pndacl->size under-reports the bytes actually written by the preceding fillaceforsid()/memcpy() calls, yielding a malformed ACL that can trigger out-of-bounds reads when re-parsed by clients or ksmbd itself.

Restore size to its pre-addition value on each overflow branch (via size -= acesz / size -= ntacesize) so that after the break, size once again holds the cumulative size of the successfully-written ACEs. The committed ACL is then truncated-but-self-consistent rather than malformed.

The ksmbd DACL builders are the only checkaddoverflow() sites found where an overflow path breaks out of a loop and the destination value is consumed afterward. The other nearby break-style cases either return -EINVAL on overflow (transportipc.c) or break without consuming the overflowed destination value afterward (buildid.c).

Affected Software

1 affected component
Linux Linux kernel

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-68099?

The severity of CVE-2026-68099 is rated at risk level 37.

2

How do I fix CVE-2026-68099?

To fix CVE-2026-68099, update to the latest version of the Linux kernel where this vulnerability has been resolved.

3

What impact does CVE-2026-68099 have on systems?

CVE-2026-68099 can lead to malformed ACLs, which may cause access control issues on affected systems.

4

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

CVE-2026-68099 affects specific versions of the Linux kernel that utilize the ksmbd component.

5

Is CVE-2026-68099 exploitable remotely?

The exploitability of CVE-2026-68099 depends on the configuration and exposure of the Linux systems using ksmbd.

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