# CVE-2026-31611: ksmbd: require 3 sub-authorities before reading sub\_auth\[2\]

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

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-28)
- **Published:** 2026-04-24T14:42:32.124Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b5b5d5936a50497fb151c0b122899a6894721c2b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2454f4a002d08560a60f214f392e6491cf11560; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 46bbcd3ebfb3549c8da1838fc4493e79bd3241e7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 53370cf9090777774e07fd9a8ebce67c6cc333ab
- Anyone running Linux 5.15

## Description

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

ksmbd: require 3 sub-authorities before reading sub\_auth\[2\]

parse\_dacl() compares each ACE SID against sid\_unix\_NFS\_mode and on
match reads sid.sub\_auth\[2\] as the file mode.  If sid\_unix\_NFS\_mode is
the prefix S-1-5-88-3 with num\_subauth = 2 then compare\_sids() compares
only min(num\_subauth, 2) sub-authorities so a client SID with
num\_subauth = 2 and sub\_auth = {88, 3} will match.

If num\_subauth = 2 and the ACE is placed at the very end of the security
descriptor, sub\_auth\[2\] will be  4 bytes past end\_of\_acl.  The
out-of-band bytes will then be masked to the low 9 bits and applied as
the file's POSIX mode, probably not something that is good to have
happen.

Fix this up by forcing the SID to actually carry a third sub-authority
before reading it at all.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b5b5d5936a50497fb151c0b122899a6894721c2b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2454f4a002d08560a60f214f392e6491cf11560; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 46bbcd3ebfb3549c8da1838fc4493e79bd3241e7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 53370cf9090777774e07fd9a8ebce67c6cc333ab (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-31611.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b5b5d5936a50497fb151c0b122899a6894721c2b; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c, Linux 46bbcd3ebfb3549c8da1838fc4493e79bd3241e7, Linux 9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a, Linux 53370cf9090777774e07fd9a8ebce67c6cc333ab

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

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

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

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

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

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b5b5d5936a50497fb151c0b122899a6894721c2b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2454f4a002d08560a60f214f392e6491cf11560; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 46bbcd3ebfb3549c8da1838fc4493e79bd3241e7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 53370cf9090777774e07fd9a8ebce67c6cc333ab; Linux 5.15.

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

Yes. Fixed in Linux 08f9e6d899b5c834bbcc239eae1bed58d9b15d2c, Linux 46bbcd3ebfb3549c8da1838fc4493e79bd3241e7, Linux 9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a, Linux 53370cf9090777774e07fd9a8ebce67c6cc333ab. Upgrade Linux to 53370cf9090777774e07fd9a8ebce67c6cc333ab or later.

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

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/b5b5d5936a50497fb151c0b122899a6894721c2b>
- patch: <https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c>
- patch: <https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560>
- patch: <https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7>
- patch: <https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a>
- patch: <https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab>
- other: <https://git.kernel.org/stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

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

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