CVE-2026-99292
published high CVSS 3.1 · 8.8smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8 · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < 773c30f94a027e6a0a9774906d6cff3902dbe15c · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < 51e5772fdfc92a453995aba07ff2aa6e107b580d · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < cde80904e285a7ac29ba2e06bc23a60b09b05f54 · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < be1bcc9147facd85dc2ebe48688afde6d5590f10 · 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < a377a3645c7d0246af0bc4ef24db94bb2670bdde · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl() In id_mode_to_cifs_acl(), while the chown branch reserves sizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_acl) and the worst-case ACE space after commit 0ee150794c75 ("smb: client: fix heap overflow in DACL owner/group rewrite")), the chmod branch only adds 2 * sizeof(struct smb_ace) or 5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace) on posix). However, the chmod branch also invokes build_sec_desc() -> copy_sec_desc(), which unconditionally writes the Owner SID at pnntsd + sidsoffset and the Group SID at pnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total), and set_chmod_dacl() always writes a struct smb_acl header (8 bytes) even when the source descriptor has dacloffset == 0. When a security descriptor has compact or overlapping Owner/Group SIDs (or dacloffset == 0), calling chmod() under-allocates pnntsd and writes past the end of the slab buffer. Reserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_ntsd) on the posix path) in the chmod branch of id_mode_to_cifs_acl().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - chmod reaches id_mode_to_cifs_acl() from cifs_setattr_nounix() when ATTR_MODE is set. The buffer length is secdesclen from the descriptor get_smb2_acl() reads with SMB2_query_acl() (SMB2 QUERY_INFO, InfoType SMB2_O_INFO_SECURITY). The server places the compact or overlapping Owner and Group SIDs in that response, and SMB travels over routable TCP. AC:L - The server sets osidoffset, gsidoffset, dacloffset and the group SID num_subauth in that QUERY_INFO descriptor. On a modefromsid mount, copy_sec_desc() writes the group SID at sidsoffset+sizeof(struct smb_sid), past the chmod-branch kzalloc, and those server-chosen fields fully determine how far the write goes. PR:N - The attacker is the SMB server answering the client's SMB2_query_acl() during setattr. No client uid, capability, or credential is consulted before copy_sec_desc() consumes that descriptor. UI:R - The chmod branch of id_mode_to_cifs_acl() runs only from cifs_setattr_nounix() with ATTR_MODE, which is chmod(2)/fchmod(2) or a write that must push a cleared S_ISUID/S_ISGID mode on a modefromsid or cifsacl mount. A user of the mount has to perform that setattr. S:U - The overflowed object is the pnntsd slab buffer allocated in the client kernel while rewriting this mount's ACL, so the corruption remains in the client's own kernel security authority. C:H - copy_sec_desc() stores nsecdesclen as sidsoffset plus two struct smb_sid and writes the group SID past the chmod kzalloc. SMB2_set_info_init() then memcpy()s that length from pnntsd into the SMB2 SET_INFO request, so bytes beyond the allocation are both overwritten and returned to the server. I:H - The bytes written past pnntsd are the group SID sub_auth values taken from the server descriptor, and the server picks the DACL length that sets the kzalloc size. That is a controlled slab overflow in copy_sec_desc() into whatever object follows pnntsd. A:H - The slab-out-of-bounds write in copy_sec_desc() extends past the pnntsd object allocated by id_mode_to_cifs_acl(). Crossing that object faults or corrupts the next slab slot and crashes the client.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8 (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < 773c30f94a027e6a0a9774906d6cff3902dbe15c (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < 51e5772fdfc92a453995aba07ff2aa6e107b580d (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < cde80904e285a7ac29ba2e06bc23a60b09b05f54 (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < be1bcc9147facd85dc2ebe48688afde6d5590f10 (affected · git)7ee0b4c635c091eb3c805977ba886bae2fd33f0c to < a377a3645c7d0246af0bc4ef24db94bb2670bdde (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/51e5772fdfc92a453995aba07ff2aa6e107b580d
- https://git.kernel.org/stable/c/773c30f94a027e6a0a9774906d6cff3902dbe15c
- https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde
- https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673
- https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10
- https://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54
- https://git.kernel.org/stable/c/d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8
Provider assertions
1Linux · cna
smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b47801023cbfb796dbed5206457c6f22918f94b962861cfeff5334ac2258d36
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record