CVE-2026-31611
ksmbd: require 3 sub-authorities before reading sub_auth[2]
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.
INFO
Published Date :
April 24, 2026, 3:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Ensure SID has three sub-authorities before reading.
- Apply the security update for the Linux kernel.
- Verify the parse_dacl() function handles ACEs correctly.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31611.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31611 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31611
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31611 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31611 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: requiere 3 subautoridades antes de leer sub_auth[2] parse_dacl() compara cada SID de ACE contra sid_unix_NFS_mode y, en caso de coincidencia, lee sid.sub_auth[2] como el modo de archivo. Si sid_unix_NFS_mode es el prefijo S-1-5-88-3 con num_subauth = 2, entonces compare_sids() compara solo min(num_subauth, 2) subautoridades, por lo que un SID de cliente con num_subauth = 2 y sub_auth = {88, 3} coincidirá. Si num_subauth = 2 y el ACE se coloca al final del descriptor de seguridad, sub_auth[2] estará 4 bytes más allá de end_of_acl. Los bytes fuera de banda se enmascararán entonces a los 9 bits bajos y se aplicarán como el modo POSIX del archivo, probablemente no sea algo bueno que suceda. Solucione esto forzando al SID a llevar realmente una tercera subautoridad antes de leerlo en absoluto. -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31611.json">CVE-2026-31611</a> Added Reference https://cert-portal.siemens.com/productcert/html/ssa-784472.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c Added Reference https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 Added Reference https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab Added Reference https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a Added Reference https://git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b Added Reference https://git.kernel.org/stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2 Added Reference https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560 Removed Reference https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c Removed Reference https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 Removed Reference https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab Removed Reference https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a Removed Reference https://git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b Removed Reference https://git.kernel.org/stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2 Removed Reference https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560 Removed Reference Type https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab Types: Patch Removed Reference Type https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': 'cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': 'b5b5d5936a50497fb151c0b122899a6894721c2b', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': '08f9e6d899b5c834bbcc239eae1bed58d9b15d2c', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': 'd2454f4a002d08560a60f214f392e6491cf11560', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': '46bbcd3ebfb3549c8da1838fc4493e79bd3241e7', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': '9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a', 'versionType': 'git'}, {'status': 'affected', 'version': 'e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9', 'lessThan': '53370cf9090777774e07fd9a8ebce67c6cc333ab', 'versionType': 'git'}], 'programFiles': ['fs/smb/server/smbacl.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.136', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.83', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.24', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.14', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0.1', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/server/smbacl.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/cf2148b880fb7c0fcd727202dbc4fd5d6998b9c2 -
Initial Analysis by [email protected]
Apr. 29, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 7.0 up to (excluding) 7.0.1 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.83 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 6.6.136 Added Reference Type kernel.org: https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/b5b5d5936a50497fb151c0b122899a6894721c2b -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 27, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/53370cf9090777774e07fd9a8ebce67c6cc333ab -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 24, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/08f9e6d899b5c834bbcc239eae1bed58d9b15d2c Added Reference https://git.kernel.org/stable/c/46bbcd3ebfb3549c8da1838fc4493e79bd3241e7 Added Reference https://git.kernel.org/stable/c/9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a Added Reference https://git.kernel.org/stable/c/d2454f4a002d08560a60f214f392e6491cf11560