CVE-2026-99292
High 8.8No known exploitationFix availablesmb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 48% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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().
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 7ee0b4c635c091eb3c805977ba886bae2fd33f0c before cde80904e285a7ac29ba2e06bc23a60b09b05f54 | cde80904e285a7ac29ba2e06bc23a60b09b05f54 | CVE Program |
| Linux | Linux | from 7ee0b4c635c091eb3c805977ba886bae2fd33f0c before ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 | ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 | CVE Program |
| Linux | Linux | from 7ee0b4c635c091eb3c805977ba886bae2fd33f0c before be1bcc9147facd85dc2ebe48688afde6d5590f10 | be1bcc9147facd85dc2ebe48688afde6d5590f10 | CVE Program |
| Linux | Linux | from 7ee0b4c635c091eb3c805977ba886bae2fd33f0c before a377a3645c7d0246af0bc4ef24db94bb2670bdde | a377a3645c7d0246af0bc4ef24db94bb2670bdde | CVE Program |
| Linux | Linux | 3.8 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.161.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.57-1.12.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.62-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 3.8 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde (opens in a new tab)
- https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 (opens in a new tab)
- https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10 (opens in a new tab)
- https://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54 (opens in a new tab)