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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **Published:** 2026-08-10T11:58:11.289Z
- **Modified:** 2026-10-03T11:17:35.613Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b7cb5bf0855470799f12da825de91e48951b3876; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 62d80d7c2d9428085e7458ad4c06ca8c0984039b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 337022d9dfac441c3b35e4455a51aa981996e02e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 61fd3559199f7fa693dcbff35e59477e24af041a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5152c6d49e3fd4e9f2e857c57527aead752f1f87
- Anyone running Linux 5.15

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

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b7cb5bf0855470799f12da825de91e48951b3876; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 62d80d7c2d9428085e7458ad4c06ca8c0984039b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 337022d9dfac441c3b35e4455a51aa981996e02e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 61fd3559199f7fa693dcbff35e59477e24af041a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5152c6d49e3fd4e9f2e857c57527aead752f1f87 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 5152c6d49e3fd4e9f2e857c57527aead752f1f87 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68097. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68097.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b7cb5bf0855470799f12da825de91e48951b3876; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 62d80d7c2d9428085e7458ad4c06ca8c0984039b; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0, Linux 62d80d7c2d9428085e7458ad4c06ca8c0984039b, Linux 337022d9dfac441c3b35e4455a51aa981996e02e, Linux 61fd3559199f7fa693dcbff35e59477e24af041a, Linux 5152c6d49e3fd4e9f2e857c57527aead752f1f87

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68097 being exploited?

There is no confirmed exploitation: CVE-2026-68097 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68097?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-68097?

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b7cb5bf0855470799f12da825de91e48951b3876; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 62d80d7c2d9428085e7458ad4c06ca8c0984039b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 337022d9dfac441c3b35e4455a51aa981996e02e; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 61fd3559199f7fa693dcbff35e59477e24af041a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5152c6d49e3fd4e9f2e857c57527aead752f1f87; Linux 5.15.

### Is there a fix for CVE-2026-68097?

Yes. Fixed in Linux 5a2d9fe0e87c71baa0aaa1cfc1361892fcd1ece0, Linux 62d80d7c2d9428085e7458ad4c06ca8c0984039b, Linux 337022d9dfac441c3b35e4455a51aa981996e02e, Linux 61fd3559199f7fa693dcbff35e59477e24af041a, Linux 5152c6d49e3fd4e9f2e857c57527aead752f1f87. Upgrade Linux to 5152c6d49e3fd4e9f2e857c57527aead752f1f87 or later.

### How do I check if I'm affected by CVE-2026-68097?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68097>

HTML: <https://flawdb.com/CVE-2026-68097> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68097>
