CVE-2026-31611 json
ksmbd: require 3 sub-authorities before reading sub_auth[2]
published 6mo ago modified 25d ago also EUVD-2026-25504
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.175, 6.6.136, 6.12.83, 6.18.24, 6.19.14, 7.0.1, 7.1
- linux Debian 12 6.1.176-1
- linux Debian 13 6.12.85-1
- linux Debian 14 6.19.14-1
debian advisories DEBIAN-CVE-2026-31611
- linux Ubuntu 24.04 LTS 6.8.0-136.136
- linux Ubuntu 26.04 LTS 7.0.0-27.27
- linux-aws Ubuntu 24.04 LTS 6.8.0-1061.64
- linux-aws Ubuntu 26.04 LTS 7.0.0-1008.8
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1064.72
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1007.7
- linux-gke Ubuntu 24.04 LTS 6.8.0-1059.67
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1061.62
ubuntu advisories UBUNTU-CVE-2026-31611
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.0.3-1.1
opensuse advisories openSUSE-SU-2026:10703-1
- git.kernel.org/stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2 commit
- git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b commit
- git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c commit
- git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560 commit
- git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 commit
- git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a commit
- git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab commit
Is CVE-2026-31611 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-31611 updated
kernel: ksmbd: require 3 sub-authorities before reading sub_auth[2]
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-295-16 updated cvss 8.6
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Technology feeds
References
- git.kernel.org /stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2
-
git.kernel.org
/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b
patch
-
git.kernel.org
/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c
patch
-
git.kernel.org
/stable/c/d2454f4a002d08560a60f214f392e6491cf11560
patch
-
git.kernel.org
/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7
patch
-
git.kernel.org
/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a
patch
-
git.kernel.org
/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab
patch
- cert-portal.siemens.com /productcert/html/ssa-784472.html
Sources
- CVE List CVE-2026-31611
- NVD CVE-2026-31611
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.