# CVE-2026-99292: smb: client: fix slab-out-of-bounds write in id\_mode\_to\_cifs\_acl()

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99292, UBUNTU-CVE-2026-99292, CGA-25j7-fxwc-2q96, CGA-29hw-j42f-3x7x, CGA-3mxm-488c-mm8q, CGA-4mw2-7cr7-pjxq, CGA-6gr4-998x-w9mf, CGA-6m4q-7q4j-22vm, CGA-6p62-hrx2-2wv5, CGA-9qpp-mqqw-4ff5, CGA-fx8x-r9jv-gvcv, CGA-vjhc-wch4-5p76, CGA-mfx5-944j-pp8g, CGA-p4fc-v2h2-hrm4, CGA-qc6c-8cwh-mqpp, CGA-qgmj-gr8f-4vw7, CGA-r6mm-hrxf-6q52, CGA-cc5c-gwvq-fcx9
- Record: https://cvemate.com/vulnerability/CVE-2026-99292 · JSON: https://cvemate.com/vulnerability/CVE-2026-99292/json

## Description

```text
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().
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.429%, percentile 39.042%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54>
- <https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673>
- <https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10>
- <https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde>
- <https://security-tracker.debian.org/tracker/CVE-2026-99292>
- <https://ubuntu.com/security/CVE-2026-99292>
- <https://www.cve.org/CVERecord?id=CVE-2026-99292>
- <https://git.kernel.org/linus/a377a3645c7d0246af0bc4ef24db94bb2670bdde>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99292.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99292>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>
- <https://git.kernel.org/stable/c/d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8>
- <https://git.kernel.org/stable/c/773c30f94a027e6a0a9774906d6cff3902dbe15c>
- <https://git.kernel.org/stable/c/51e5772fdfc92a453995aba07ff2aa6e107b580d>

---

Data as of 2026-12-05T03:57:32.101Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
