Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ksmbd SMB service
-
DeliveryRequest NT ACL construction with many ACEs
-
ExploitOverflow 16-bit pndacl->size field
-
ExecutionEmit truncated malformed ACL on wire
-
ImpactOut-of-bounds read crashes kernel on re-parse
Vulnerability Assessment
| Exploitation Conditions | Requires a host running the ksmbd in-kernel SMB server (CONFIG_SMB_SERVER), which is not built or enabled by default in most distributions, actively serving shares. An authenticated SMB session (PR:L) must drive DACL construction in set_ntacl_dacl() or set_posix_acl_entries_dacl() with enough Access Control Entries that the cumulative DACL size exceeds the 16-bit on-wire size field, forcing the check_add_overflow() break path that leaves pndacl->size under-reporting the bytes written. Limiting factors: ksmbd must be explicitly enabled and exposed, the attacker needs a valid authenticated SMB account, and the attacker must be able to cause an abnormally large ACL (>~64 KB of ACEs) to be built - a non-default, hard-to-reach condition that substantially narrows realistic exploitation beyond the raw CVSS score. |
| Impact | The signals point to a low-to-moderate, non-urgent priority. CVSS is 5.5 (medium) with the NVD vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - the only claimed impact is availability (A:H), consistent with an out-of-bounds read crashing the kernel rather than code execution or data theft. EPSS is 0.17% (6th percentile), indicating very low predicted exploitation; there is no CISA KEV listing and no public exploit identified at time of analysis, so there is no evidence of active or impending exploitation. The vuln.today Decision label is 'this_month', i.e. patch on a routine monthly cadence, not an emergency. One notable conflict: NVD scores this AV:L (local), yet the vulnerable code is ksmbd, the in-kernel SMB server, which is reached by network SMB clients - the mechanism (a malformed on-wire NT ACL re-parsed 'by clients or ksmbd itself') implies a network-reachable trigger, so the AV:L attack-vector metric appears understated; verify reachability with the specific deployment. The trigger also requires overflowing a 16-bit DACL size field, meaning an attacker must induce construction of an ACL exceeding ~64 KB of ACEs, a demanding and non-default condition that further lowers real-world risk. |
| Exploit ScenarioDerived | An authenticated SMB client connected to a host running the ksmbd in-kernel server induces the server to build an NT or POSIX DACL containing enough ACEs that the cumulative size overflows the 16-bit pndacl->size field. The overflow path breaks the ACE loop but the truncated size is still written, so the emitted ACL under-reports the bytes actually present; when that malformed ACL is re-parsed by ksmbd or a client, the size mismatch drives out-of-bounds reads that can crash the kernel (A:H). No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
ksmbd, the in-kernel SMB server in the Linux kernel, mis-accounts the size of a constructed NT ACL when the cumulative DACL exceeds the 16-bit on-wire size field, because check_add_overflow() writes the truncated sum into the size variable even on the overflow path. The resulting ACL under-reports the bytes actually written, so the malformed ACL can drive out-of-bounds reads when ksmbd or an SMB client re-parses it. Exposure is confined to hosts that explicitly build and enable CONFIG_SMB_SERVER and serve shares; exploitation further requires an authenticated SMB session (PR:L) able to force an abnormally large ACL (roughly >64 KB of ACEs), so the reachable attack surface is considerably narrower than the scored severity suggests. EPSS is 0.17% (6th percentile), there is no KEV entry and no public exploit identified at time of analysis, and vendor patches are available for the affected stable branches.
RemediationAI
Vendor-released patches are available: upgrade to Linux 6.6.148, 6.12.101, 6.18.42, 7.1.6 or 7.2-rc5 (or later), or apply the referenced stable commits (git.kernel.org/stable/c/0bf38372821b1526f31538a7d9811844c55c7f38, 847ecd4eb3c117c3d2f13f1e7ab506543aad8183, bc90144ce8bb7fcf05ad9417c7adb4e9509d9e13, bbf0a8e931204ecdab494a88d43b0a24a04285c5, f4fcd0c1a243d449307b887fafee23921e9db5ab, 8f3a7a499a7d9bb1c0f33fe78c4a4594d7e307f4). Distribution kernels should be updated via their own advisories - the Ubuntu notices USN-8887-1, USN-8888-1 and USN-8889-1 carry the corresponding fixes. Because the flaw only exists in the in-kernel SMB server, hosts that do not need it can reduce exposure by not building or loading ksmbd (CONFIG_SMB_SERVER) and not exposing ksmbd-managed shares, accepting the loss of in-kernel SMB file sharing in exchange; where ksmbd is required, restrict SMB access to trusted authenticated accounts so that unprivileged sessions cannot drive large DACL construction.
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
ksmbd builds NT and POSIX Access Control Lists for SMB shares in set_ntacl_dacl() and set_posix_acl_entries_dacl(), iterating ACE construction with fill_ace_for_sid()/memcpy() and using check_add_overflow() to guard the running size accumulator. Per the contract documented in include/linux/overflow.h, check_add_overflow() unconditionally stores the truncated sum in its destination even when it reports an overflow. The four guards in these two builders break out of the ACE loops on overflow, but the truncated *size value is then consumed at the end of set_ntacl_dacl() when pndacl->size is updated with the accumulated size. The committed on-wire NT ACL therefore advertises fewer bytes than were actually written, and re-parsing that inconsistent structure by clients or by ksmbd itself can produce out-of-bounds reads. The fix restores *size to its pre-addition value on each overflow branch (*size -= ace_sz, size -= nt_ace_size) so the emitted ACL is truncated but self-consistent. The commit message notes these were the only check_add_overflow() sites where an overflow path breaks a loop and the overflowed destination is subsequently consumed; neighbouring break-style cases either return -EINVAL (transport_ipc.c) or never consume the overflowed value (buildid.c). No CWE was assigned in the source data, though the behaviour is a size-accounting/validation defect rather than a classic memory-corruption primitive.
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:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
ksmbd is network-reachable so AV:N; triggering a 16-bit size overflow needs a crafted oversized ACL (AC:H) from an authenticated SMB user (PR:L); OOB read yields a crash (A:H) and possible limited leak (C:L).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: restore DACL size on check_add_overflow() to avoid malformed ACL
check_add_overflow() unconditionally writes the truncated sum into *d even on overflow, per its contract in include/linux/overflow.h. The four check_add_overflow() guards in set_posix_acl_entries_dacl() and set_ntacl_dacl() break out of the ACE-building loops on overflow, but the truncated *size is then consumed downstream at the end of set_ntacl_dacl():
pndacl->size = cpu_to_le16(le16_to_cpu(pndacl->size) + size);
This produces an on-wire NT ACL whose pndacl->size under-reports the bytes actually written by the preceding fill_ace_for_sid()/memcpy() calls, yielding a malformed ACL that can trigger out-of-bounds reads when re-parsed by clients or ksmbd itself.
Restore *size to its pre-addition value on each overflow branch (via *size -= ace_sz / size -= nt_ace_size) so that after the break, *size once again holds the cumulative size of the successfully-written ACEs. The committed ACL is then truncated-but-self-consistent rather than malformed.
The ksmbd DACL builders are the only check_add_overflow() sites found where an overflow path breaks out of a loop and the destination value is consumed afterward. The other nearby break-style cases either return -EINVAL on overflow (transport_ipc.c) or break without consuming the overflowed destination value afterward (buildid.c).
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-55480
GHSA-xjwm-2vhv-89mg
NVD
CVE.org
EPSS
VulDB
Exploit-DB