---
id: "CVE-2026-99292"
page: "https://infrastack.ai/live/CVE-2026-99292"
kind: "vulnerability"
aliases: ["CVE-2026-99292"]
title: "Linux kernel SMB client: chmod on CIFS mounts overflows a heap buffer"
severity: "unknown"
cvss: null
epss: 0.00226
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["cifs", "linux-kernel", "runtime", "smb-client"]
not_affected_if: ["no-cifs-mounts"]
published_at: "2026-11-16T10:17:01+00:00"
first_seen_at: "2026-11-16T10:39:26+00:00"
updated_at: "2026-11-16T18:53:18+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99292", "first_seen_at": "2026-11-16T10:39:26+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-99292", "first_seen_at": "2026-11-16T18:53:18+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.00226, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-99292"}]
---

# Linux kernel SMB client: chmod on CIFS mounts overflows a heap buffer

Link for people: https://infrastack.ai/live/CVE-2026-99292 (this .md is for agents)

The Linux kernel's SMB/CIFS client can write past the end of a slab-allocated buffer when chmod() is called on a file with a compact or overlapping owner/group security descriptor. A flaw of this kind can let an attacker corrupt kernel memory, and the sources do not say whether it leads to code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-16T10:39:26+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-99292
- 2026-11-16T18:53:18+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-99292

## From the sources

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

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
