# CVE-2026-64138: ksmbd: validate SID in parent security descriptor during ACL inheritance

> 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-07-19T15:40:31.760Z
- **Modified:** 2026-10-30T13:19:32.610Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f7c4dee323d9176b8d3f5c69018ee57ae0d4653c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8efbea0253b7fa2d1960cab0fed36544ca0b41ab; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f0e5c9c663badc9982e6941322eef1cb17de0f11; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18d8db24b0a5b7be4829238dd4022236df02d421; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1c9d0646a9959752f11ca1080dc1ff26bd1756cb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 69f030cf95488ae1186c72ac8c66fd279664ea7f
- Anyone running Linux 5.15

## Description

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

ksmbd: validate SID in parent security descriptor during ACL inheritance

Introduce smb\_validate\_ntsd\_sid() helper to safely validate Owner SID
and Group SID inside the NT Security Descriptor (smb\_ntsd) retrieved
from the parent directory.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f7c4dee323d9176b8d3f5c69018ee57ae0d4653c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8efbea0253b7fa2d1960cab0fed36544ca0b41ab; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f0e5c9c663badc9982e6941322eef1cb17de0f11; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18d8db24b0a5b7be4829238dd4022236df02d421; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1c9d0646a9959752f11ca1080dc1ff26bd1756cb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 69f030cf95488ae1186c72ac8c66fd279664ea7f (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 69f030cf95488ae1186c72ac8c66fd279664ea7f 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-64138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64138.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f7c4dee323d9176b8d3f5c69018ee57ae0d4653c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 8efbea0253b7fa2d1960cab0fed36544ca0b41ab; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f0e5c9c663badc9982e6941322eef1cb17de0f11; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 8efbea0253b7fa2d1960cab0fed36544ca0b41ab, Linux 18d8db24b0a5b7be4829238dd4022236df02d421, Linux 1c9d0646a9959752f11ca1080dc1ff26bd1756cb, Linux 69f030cf95488ae1186c72ac8c66fd279664ea7f

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-64138 being exploited?

There is no confirmed exploitation: CVE-2026-64138 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-64138?

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

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

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f7c4dee323d9176b8d3f5c69018ee57ae0d4653c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8efbea0253b7fa2d1960cab0fed36544ca0b41ab; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f0e5c9c663badc9982e6941322eef1cb17de0f11; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 18d8db24b0a5b7be4829238dd4022236df02d421; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1c9d0646a9959752f11ca1080dc1ff26bd1756cb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 69f030cf95488ae1186c72ac8c66fd279664ea7f; Linux 5.15.

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

Yes. Fixed in Linux 8efbea0253b7fa2d1960cab0fed36544ca0b41ab, Linux 18d8db24b0a5b7be4829238dd4022236df02d421, Linux 1c9d0646a9959752f11ca1080dc1ff26bd1756cb, Linux 69f030cf95488ae1186c72ac8c66fd279664ea7f. Upgrade Linux to 69f030cf95488ae1186c72ac8c66fd279664ea7f or later.

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

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

- patch: <https://git.kernel.org/stable/c/f0e5c9c663badc9982e6941322eef1cb17de0f11>
- patch: <https://git.kernel.org/stable/c/18d8db24b0a5b7be4829238dd4022236df02d421>
- patch: <https://git.kernel.org/stable/c/1c9d0646a9959752f11ca1080dc1ff26bd1756cb>
- patch: <https://git.kernel.org/stable/c/69f030cf95488ae1186c72ac8c66fd279664ea7f>
- other: <https://git.kernel.org/stable/c/f7c4dee323d9176b8d3f5c69018ee57ae0d4653c>
- other: <https://git.kernel.org/stable/c/8efbea0253b7fa2d1960cab0fed36544ca0b41ab>

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

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