Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim mounts attacker SMB server with cifsacl
-
DeliveryServer returns descriptor with overlapping/compact SIDs
-
ExploitLocal user runs chmod() on the mount
-
ExecutionUnder-allocated pnntsd overflows in id_mode_to_cifs_acl()
-
ImpactKernel slab heap corruption / potential privilege escalation
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires a Linux client that (1) mounts an SMB/CIFS share with ACL-aware behaviour so that id_mode_to_cifs_acl() is reached (cifsacl / modefromsid-style configuration), (2) is connected to a malicious or compromised SMB server that returns a security descriptor with compact or overlapping Owner/Group SIDs, or with dacloffset == 0, and (3) a local user who invokes chmod() on a file within that mount (the UI:R requirement). Limiting factors: this is not reachable against a default host that does not mount untrusted SMB shares; it needs the specific crafted SID/descriptor layout, the ACL mount option, and a triggering chmod, so it is not remote-unauthenticated-against-default-config despite the raw CVSS score. Systems running the fixed kernels (6.12.117, 6.18.61, 7.3.2, 7.4-rc1 or later) are not affected. |
| Impact | Signals are mixed and point to a serious-but-narrow memory-safety bug rather than a mass-exploitation emergency. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 8.8) implies remote, unauthenticated, network-reachable code execution requiring only user interaction, but the description shows the real trigger is far more constrained: a local user must call chmod() on a CIFS/SMB mount whose security descriptor (supplied by the SMB server) contains compact/overlapping Owner/Group SIDs or dacloffset==0, causing a slab-out-of-bounds write. That makes the 'network' character of the flaw dependent on connecting to a malicious or compromised SMB server plus a cifsacl-style configuration - so AC:L understates the real attack complexity; AC:H is more honest. EPSS is low (0.23%, 13th percentile), there is no CISA KEV listing, and the only references are the upstream fix commits, not exploit code - consistent with no active exploitation. The vuln.today decision label is 'this_week', i.e. patch on a near-term maintenance cadence, not act_now/emergency. Net: real and worth patching promptly on affected CIFS clients because kernel heap corruption can escalate to privilege escalation or DoS, but this is not a widely-weaponized, drive-by remote threat; the high CVSS overstates practical exposure for the typical Linux host that does not mount untrusted SMB shares with ACL support. |
| Exploit ScenarioDerived | A Linux host mounts an SMB/CIFS share from an attacker-controlled or compromised server using an ACL-aware mode (e.g. cifsacl/modefromsid). The server returns a security descriptor with overlapping or compact Owner/Group SIDs (or dacloffset==0); when a local user then runs chmod() on a file in that mount, id_mode_to_cifs_acl() under-allocates pnntsd and build_sec_desc()/set_chmod_dacl() write the Owner/Group SIDs and ACL header past the end of the slab buffer, corrupting kernel heap memory. No public exploit code was identified; successful exploitation would need the specific SID layout plus the user chmod action (UI:R), so it is not a point-and-click remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
A slab out-of-bounds write exists in the Linux kernel's SMB/CIFS client inside id_mode_to_cifs_acl(), where the chmod() code path under-allocates the security descriptor buffer that build_sec_desc()/copy_sec_desc() and set_chmod_dacl() subsequently populate with Owner and Group SIDs plus an ACL header. The flaw is reachable only on a Linux client that mounts an SMB share with ACL-aware behaviour (cifsacl / modefromsid-style configuration) and is connected to a malicious or compromised SMB server that returns a security descriptor with compact or overlapping Owner/Group SIDs, or with dacloffset == 0, after which a local user must invoke chmod() on a file in that mount (user interaction). It is not reachable on a default host that does not mount untrusted SMB shares, EPSS is low at 0.23% (13th percentile), there is no CISA KEV entry, and no public exploit identified at time of analysis; the assigned CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, and kernels at 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1 and later are fixed.
RemediationAI
Vendor-released patch: kernel 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 (and later) contain the fix; the corresponding upstream stable commits are a377a3645c7d0246af0bc4ef24db94bb2670bdde, be1bcc9147facd85dc2ebe48688afde6d5590f10 (https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10), cde80904e285a7ac29ba2e06bc23a60b09b05f54 (https://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54) and ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673 (https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673), so distributions should pick up the stable release that carries them or backport the hunk that reserves 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(). Where patching cannot be done immediately, reduce exposure by not mounting untrusted or Internet-reachable SMB shares with ACL-aware behaviour (cifsacl / modefromsid-style options) on kernels below the fixed versions, with the trade-off that such mounts lose server-side POSIX ACL enforcement and mode mapping for those shares, and note that exploitation additionally requires a local user to run chmod() on a file inside the affected mount.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Linux kernel CIFS/SMB client (cpe:2.3:a:linux:linux), specifically the helper id_mode_to_cifs_acl() that converts a POSIX mode plus ownership into an on-the-wire NT security descriptor when a file's mode is changed on an SMB mount. A previous fix, commit 0ee150794c75 ("smb: client: fix heap overflow in DACL owner/group rewrite"), corrected the size accounting in the chown branch so that it reserves sizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) plus sizeof(struct smb_acl) and worst-case ACE space. The chmod branch was left with a smaller reservation - only 2 or 5 * sizeof(struct smb_ace) (1 on the posix path) added to secdesclen - even though the chmod path also calls 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), and set_chmod_dacl() always writes an 8-byte struct smb_acl header even when the source descriptor has dacloffset == 0. When a server-supplied security descriptor has compact or overlapping Owner/Group SIDs or no DACL, the under-sized slab buffer is overrun past its end. The weakness class is a memory-safety out-of-bounds write in kernel slab memory; the upstream resolution reserves sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_ntsd) on the posix path) in the chmod branch. No CWE identifier was supplied in the source data, and the trigger specifics are as described above - the bug depends on the crafted SID/descriptor layout returned by the server and on the ACL-aware mount configuration.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Malicious SMB server data drives the write (AV:N, PR:N), but a cifsacl mount, a crafted SID layout, and a local chmod are all required, so AC:H and UI:R; kernel heap corruption yields C/I/A High.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
3DescriptionCVE.org
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().
Executive ViewAI
A high-severity memory corruption flaw in the Linux kernel's SMB/CIFS client could allow an attacker controlling an SMB server to compromise Linux clients that mount shares with ACL-aware settings. While exploitation requires user interaction and a non-default configuration, the potential for full system compromise means leadership should prioritize mitigation for any Linux systems accessing untrusted SMB shares.
No vendor-released patch identified at time of analysis. Interim mitigations: avoid mounting SMB shares with ACL-aware options (cifsacl, modefromsid) from untrusted servers; restrict SMB client connections to trusted internal servers only; limit local chmod() permissions on mounted SMB shares to trusted users.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-126198
GHSA-38fg-966h-53p2
NVD
CVE.org
EPSS
VulDB
Exploit-DB