# CVE-2026-68097: ksmbd: validate ACE size against SID sub-authorities

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-02)
- Published: 2026-08-10T11:58:11.289Z
- Modified: 2026-11-30T19:30:57.300Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before b7cb5bf0855470799f12da825de91e48951b3876; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 62d80d7c2d9428085e7458ad4c06ca8c0984039b; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 337022d9dfac441c3b35e4455a51aa981996e02e; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 61fd3559199f7fa693dcbff35e59477e24af041a; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5152c6d49e3fd4e9f2e857c57527aead752f1f87; 5.15 (not affected: before 5.15; from 6.1.189 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.15 before 6.1.189; from 6.2 before 6.6.148; from 6.7 before 6.12.101; from 6.13 before 6.18.42; from 6.19 before 7.1.6; 7.2

## References

- <https://git.kernel.org/stable/c/5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0> (patch)
- <https://git.kernel.org/stable/c/b7cb5bf0855470799f12da825de91e48951b3876> (patch)
- <https://git.kernel.org/stable/c/62d80d7c2d9428085e7458ad4c06ca8c0984039b> (patch)
- <https://git.kernel.org/stable/c/337022d9dfac441c3b35e4455a51aa981996e02e> (patch)
- <https://git.kernel.org/stable/c/61fd3559199f7fa693dcbff35e59477e24af041a> (patch)
- <https://git.kernel.org/stable/c/5152c6d49e3fd4e9f2e857c57527aead752f1f87> (patch)

## Sources

- CVE List: [CVE-2026-68097](https://www.cve.org/CVERecord?id=CVE-2026-68097), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-68097](https://nvd.nist.gov/vuln/detail/CVE-2026-68097), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68097 · Whole record: https://cve.day/CVE-2026-68097.json · Rebuilt by cve.day 2026-11-30T19:32:15.764Z
